microsoft / lepton_jpeg_rust

Port of DropBox Lepton compression to Rust
Apache License 2.0
129 stars 10 forks source link

improved inner loop of Huffman reading #8

Closed mcroomp closed 1 year ago

mcroomp commented 1 year ago

Remove a branch in huffman code reading and make both left and right points be in the same memory line. About 2.5% improvement -verify end-to-end