Lars Müller:
for i = 1, 10 do collectgarbage">引用] You should look out since as you noted the length of the array and hash part are power of two's, so in the worst case this can give double the cost when using random lengths. So using power of two's instead of 1e7 would be better.