mirror of
https://github.com/lua/lua.git
synced 2025-01-28 06:03:00 +08:00
2491b87c10
Array part needs 1/3 of its elements filled, instead of 1/2. Array entries use ~1/3 the memory of hash entries, so this new rule still ensures that array parts do not use more memory than keeping the values in the hash, while allowing more uses of the array part, which is more efficient than the hash.