Quote Originally Posted by m^2 View Post
Mhm...thanks. I expected Huffman to be much more expensive....just to be sure, you measure pure CPU time, right?
Yep, what I wrote was not clear, sorry. Total time = user CPU time, 60 cycles per pixel. Huffman tables are less than 2 KByte in size, so they are rarely evicted from L1 cache. 10% of 60 cycles = 6 cycles for fetching code and length from L1.