trifectatechfoundation / zlib-rs

A safer zlib
zlib License
148 stars 15 forks source link

experiment with how to pick the right SIMD implementation #163

Open folkertdev opened 3 months ago

folkertdev commented 3 months ago

we currently use the stdlib macros in many places. I believe this is reasonably fast for us (we don't do it in tight loops), but still those macros have overhead. We might benefit from a different approach. I came across

https://crates.io/crates/multiversion

which apparently has some tricks up its sleeve.