3 ms·
Somebody on reddit found the bottleneck: https://www.reddit.com/r/rust/comments/4yinbt/writing_a_jpeg_decoder_in_rust_part_2/d6obz7r?context=2 https://www.reddi
by balducien 10y ago
Somebody on reddit found the bottleneck: https://www.reddit.com/r/rust/comments/4yinbt/writing_a_jpeg_decoder_in_rust_part_2/d6obz7r?context=2 https://www.reddit.com/r/rust/comments/4yinbt/writing_a_jpeg...
After fixing it, it apparently runs in 100 ms.
- martinhath 10y agoIt's worth mentioning, those numbers are for my test program which only read a single file, using my and his implementations. In addition, the file read was 20MB. lena.jpeg is 90K.