Re:Writing a JPEG Decoder in Rust – Part 2: Implementation I
by evmar on Friday August 19, 2016 @02:30PM
(#12322270)
The code reads the file into a big buffer and then does array operations to index into it, which seems like the opposite of what you want for a good decoder. Using iterators etc. will let you read the file incrementally and will avoid array bounds checking.
[ Parent
| on HN ]
There are no comments on this comment yet.