lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


On Thu, Sep 24, 2020 at 10:35 PM Gé Weijers <ge@weijers.org> wrote:
> Growing a table is the operation that would cause significant delays when the table is large enough. You would have to keep sizes small or fixed to guarantee constant time operations.

As discussed previously on the mailing list, you'll cause tables'
contents to be copied to a new backing array and rehashed just by
adding and removing elements while keeping the table a fixed size.