bitser/cases/shared_table.lua
Robin Wellner ff25d2b2b6 Add a non-reentrant version of bitser
This may replace the default implementation if reentrancy does not seem
to be an important constraint for library users.

It tends to be much faster than regular bitser, helping it catch up with
lua-MessagePack and binser in the cases it lags behind.
2016-02-23 12:09:57 +01:00

6 lines
93 B
Lua

local t = {}
local x = {10, 50, 40, 30, 20}
for i = 1, 40 do
t[i] = x
end
return t, 10000, 3