Hash Array Mapped Tries (Bagwell tries) in Lua, which emphasis for LuaJIT