#37 Redo huffman decoder to be left-aligned for performance

closed-wont-integrate
nobody
None
1
2014-03-27
2012-11-09
No

This takes the approach suggested here http://cbloomrants.blogspot.ca/2010/08/08-12-10-lost-huffman-paper.html and adopts it for libjpeg. It doesn't bring a huge performance improvement, but it is noticeable (from 98mbps to 102mbps).

The patch may still be a little rough, but I'm interested in feedback on it.

1 Attachments

Discussion

  • DRC

    DRC - 2014-03-27
    • status: open --> wont-fix
     
  • DRC

    DRC - 2014-03-27

    Latest benchmarks indicate that this approach results in 0.5% to 4.2% (average 2.1%) speedup over my standard set of test images with 64-bit code and -2.2% to 3.2% (average 0.93%) speedup with 32-bit. Performance increase is not sufficient to justify the disruption to the code base. Closing as WNF for now. If you have a new revision you'd like me to test, please re-open the item and attach the new patch.

     
  • DRC

    DRC - 2014-03-27
    • Status: wont-fix --> closed-wont-integrate
     

Log in to post a comment.