So, Lua traverses all entries, counting and classifying them, and then chooses as the size of the array part the largest power of 2 such that more than half the elements of the array part are filled.
所以,Lua遍历所有条目,计数并分类它们,然后选择2的最大的乘幂作为数组部分的尺寸,它使得数组部分超过半数的元素被填充。
So, Lua traverses all entries, counting and classifying them, and then chooses as the size of the array part the largest power of 2 such that more than half the elements of the array part are filled.
所以,Lua遍历所有条目,计数并分类它们,然后选择2的最大的乘幂作为数组部分的尺寸,它使得数组部分超过半数的元素被填充。
应用推荐