3 ms·
And if you want to take that a step further down the rabbit hole, here's how Lua allocates the table in memory: https://stackoverflow.com/a/29930168 https://sta
by aspaceman 6y ago
And if you want to take that a step further down the rabbit hole, here's how Lua allocates the table in memory: https://stackoverflow.com/a/29930168 https://stackoverflow.com/a/29930168
It's two dynamic arrays, of hashes and values, whose sizes grow as powers of two.