> Also there is a LuaJIT implementation with FFI [1], which > works way faster than pure Lua one [2] because the former > gets fully JIT compiled (once we've dropped maps and > claimed all tables to be arrays). Hello, this is interesting. Do you have a benchmark that shows that? I wrote that FFI-based implementation but as far as I know François Perrad's pure Lua implementation matches its speed most of the time. -- Pierre Chapuis