4 ms·
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. U
by evmar 10y ago
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.