3 ms·
For raw number crunching, LuaJIT is plenty fast anyway (when you use the FFI to instantiate native types), so unless you need something real special (SSE perhap
by dkersten 14y ago
For raw number crunching, LuaJIT is plenty fast anyway (when you use the FFI to instantiate native types), so unless you need something real special (SSE perhaps), it may not even buy you that much to use C++ over LuaJIT.
- iskander 14y agoJust a small clarificatation: the 2.x version of LuaJIT only compiles floating point operations to SSE2 (http://lua-users.org/lists/lua-l/2010-03/msg00142.html http://lua-users.org/lists/lua-l/2010-03/msg00142.html). I'm not sure, however, whether it does vectorization or just operates on one float at a time.