3 ms·
This looks pretty awesome. It says it's fast, but I'm curious how it benchmarks compared to a C (non SSE) implementation.
by snarfy 12y ago
This looks pretty awesome. It says it's fast, but I'm curious how it benchmarks compared to a C (non SSE) implementation.
- pierrec 12y agoThanks. I did do a rudimentary benchmark with a filter bank implemented in C++ versus LuaJIT/protoplug. Using VC++'s default compiler settings, the performance was exactly the same. However, enabling SSE while using floats instead of doubles is what made the difference. It renders the C version 1.5 - 2 times faster. So yeah, a float version of LuaJIT would even things out completely, but I don't think that's coming anytime soon.
- justincormack 12y agoI think a version with vectorized doubles is more likely to happen.