23601902ab
Motivation: Enlarging buffers approaching 4 MiB size requires n iterations Modification: Use a single instruction to compute the next buffer capacity Result: Faster/Simpler calculateNewCapacity