Older versions of Lua created empty tables with some pre-allocated slots (four, if I remember correctly), to avoid this overhead when initializing small tables.
旧版Lua创建的空表带一些预分配的存储槽(4个,如果我记得正确的话),以避免这种初始化小表的开销。
Older versions of Lua created empty tables with some pre-allocated slots (four, if I remember correctly), to avoid this overhead when initializing small tables.
旧版Lua创建的空表带一些预分配的存储槽(4个,如果我记得正确的话),以避免这种初始化小表的开销。
应用推荐