Generate pre-processed ranges to simplify range bounds checking
Optimize _transformBlock() to only slice & dice chunks that don't adhere to the block size, also improving performance considerably by causing fewer operations on buffers
I have now also added comments throughout the methods, and added some missing doc blocks, to hopefully make it easier / quicker to grasp what's going on in there.
Changes:
debug
output to FilterStream_transformBlock()
to only slice & dice chunks that don't adhere to the block size, also improving performance considerably by causing fewer operations on buffers_flush()
to emit correctly transformed blocksChange-Type: minor