TSXor icon indicating copy to clipboard operation
TSXor copied to clipboard

Vectorization

Open slice4e opened this issue 2 years ago • 13 comments

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.

slice4e avatar Jun 24 '22 19:06 slice4e