lua-users home
lua-l archive

Re: [5.4] Shrinking of tables

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


> OK, is a rehash still only triggered by an assignment to a new key or
> will collectgarbage()
> or even something else also do it now?
Nothing changed here. A rehash is only triggered by an assignment to a
new key, when there is no recognizable free space left in the hash part
to put this new key.
-- Roberto

AltStyle によって変換されたページ (->オリジナル) /