Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
vertexcodec: Add tracing for bit consistency
Within each byte group, we count the number of consistent bits: bits that, in that byte group, all match the corresponding bit from the last vertex. Consistent bits amplify compression rates when they are properly aligned. Note that this is not exactly the same as having small deltas, eg 0xff vs 0x00 is still consistent from the delta perspective in most high bits, but it would be the same if we used xor deltas (which may be an option worth having). This is also *not* the same as having bits consistent between consecutive bytes: in a very random sequence, about half of the bits in each position usually match from one value to the next, but that's a very low consistency as it's hard to take advantage of.
- Loading branch information