On Wed, Sep 30, 2020 at 5:36 PM Francisco Olarte wrote:
I mean, no rehashing involved,
just a slower emptyness test.
Rehashing is involved.
In my original test uncommenting the "slow" line
changes the time complexity from linear to quadratic.
Inserting nils into a table might be a very costly operation in Lua :-)