| commit | 9a91fe1640ddbe5b55e7454541059372b971f400 | [log] [tgz] |
|---|---|---|
| author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | Thu Nov 14 11:48:25 2024 -0300 |
| committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | Thu Nov 14 11:48:25 2024 -0300 |
| tree | 902589105ff77ee8f3000e80f7e0459cd21eb068 | |
| parent | 2491b87c10db530eac2f3d81cd39f95875d16cd5 [diff] |
Add extra size when resizing tables with deleted keys Without this extra space, sequences of insertions/deletions (and some other uses) can have unpexpected low performances. See the added tests for an example, and *Mathematical Models to Analyze Lua Hybrid Tables and Why They Need a Fix* (MartÃnez, Nicaud, Rotondo; arXiv:2208.13602v2) for detais.
This is the repository of Lua development code, as seen by the Lua team. It contains the full history of all commits but is mirrored irregularly. For complete information about Lua, visit Lua.org.
Please do not send pull requests. To report issues, post a message to the Lua mailing list.
Download official Lua releases from Lua.org.