I don't see much of a performance difference on this, but I think the code is better. It reuses the buffer object (when it can), and pulls the uint64 encoding code in to one place. I want to try unrolling the integer encoding loop, so this is a first step.
I don't see much of a performance difference on this, but I think the code is better. It reuses the buffer object (when it can), and pulls the uint64 encoding code in to one place. I want to try unrolling the integer encoding loop, so this is a first step.