4 ms·
I suggested to try and use LuaJIT. It has very good double precision floating point, and it looks like SSE/SIMD were not used directly from the code. LuaJIT s
by malkia 15y ago
I suggested to try and use LuaJIT.
It has very good double precision floating point, and it looks like SSE/SIMD were not used directly from the code.
LuaJIT should garbage collect unused code, if not it always regenerates it. It should be able to compile and execute tons of code as he has (and it looks like all his stuff is generated, but for C++).
- premchai21 15y agoLast I checked, the LuaJIT allocator on AMD64 platforms uses only a small part of the address space for the Lua heap, partly so that more efficient type-punned representations can be used internally. I don't remember what the limit is exactly, but it's only a few GB (and beyond that the GC starts having trouble anyway). I don't know whether this applies to the machine-code JIT output, or to external cdata arrays, but it's something to watch out for here.