
All the Performance with RavenDB's Oren Eini
Hanselminutes with Scott Hanselman
00:00
How to Compile Integer Compression Routines
Any X64 CPU in the past 10 years or so, shipped with AVX2 at least. You can write normal code and the compiler is something that's smart enough to vectorize your code. And you can take a vector of 256 and treat it as a set of four longs or a set of eight integers. So what we are actually able to do is to implement this integer compression routine using only the high level vector instructions.
Transcript
Play full episode