Closed paolobarbolini closed 2 years ago
Removes bounds checks from the following lines:
https://github.com/image-rs/jpeg-decoder/blob/55a4a9a32b45b968694d3b656f4d9669a0ecbc03/src/idct.rs#L153-L160
https://github.com/image-rs/jpeg-decoder/blob/55a4a9a32b45b968694d3b656f4d9669a0ecbc03/src/idct.rs#L167-L168
and makes the code autovectorize
https://rust.godbolt.org/z/vP9svecsv
Removes bounds checks from the following lines:
https://github.com/image-rs/jpeg-decoder/blob/55a4a9a32b45b968694d3b656f4d9669a0ecbc03/src/idct.rs#L153-L160
https://github.com/image-rs/jpeg-decoder/blob/55a4a9a32b45b968694d3b656f4d9669a0ecbc03/src/idct.rs#L167-L168
and makes the code autovectorize
https://rust.godbolt.org/z/vP9svecsv