mirror of
https://github.com/gvx/bitser.git
synced 2024-11-11 01:44:21 +00:00
ff25d2b2b6
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.
6 lines
93 B
Lua
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 |