TSXor
TSXor copied to clipboard
Vectorization
Since we are comparing the value to a "window" of previous values during compression, I believe we may benefit from vectorizing the code - compare the value to multiple values concurrently using vector instructions.
It is possible that the compiler can auto-vectorize the window comparison loop (best option), if the correct flags are used. Alternatively, assembly intrinsics can be used to vectorize.