mirror of
https://github.com/lua/lua.git
synced 2026-07-01 11:39:14 +00:00
Shrink a stack only when the final stack size can be at most 2/3 the previous size with half of its entries empty. This commit also improves the clarity of 'luaD_growstack'.
3.8 KiB
3.8 KiB