Added time and peak memory usage output
Compacted Pixel format and removed expensive BitConverter usage
Converted moment arrays into array of moments
Reduced memory usage
Refactored histogram computation
Remove code that doesn't seem to do anything
Minor micro-optimization
Further reduced memory usage.
Optimized by using arrays instead of lists
Now uses way less memory by not holding a copy of the pixels in memory.
Reduced memory usage by using leaner palette pixel lookup cache.
Optimized certain frequent operations
Improved palette index lookup for pixels that would result in full palette search.
Optimized pixel processing by processing per row rather than per pixel
Minor micro-optimizations
Slight optimization
Major optimization of hash value to better distribute palette.
More minor optimizations
More micro optimizations
Removed ColorData class