lua-l archive
[
Date Prev
][
Date Next
][
Thread Prev
][
Thread Next
] [
Date Index
] [
Thread Index
]
Subject
:
Fun with table rehash
From
: Egor Skriptunoff <egor.skriptunoff@
...
>
Date
: Wed, 30 Sep 2020 14:23:53 +0300
Hi!
This program runs very fast:
local t = {}
-- t.slow = true
for j = 1, 1e6 do t[j], t[-j] = 0, nil end
But if you uncomment the line with the "slow" option...
Follow-Ups
:
Re: EXT SENDER - Fun with table rehash
,
Chodera, Ian
Re: Fun with table rehash
,
Francisco Olarte
Prev by Date:
[ANN] Lua 5.4.1 (rc1) now available
Next by Date:
Re: EXT SENDER - Fun with table rehash
Previous by thread:
[ANN] Lua 5.4.1 (rc1) now available
Next by thread:
Re: EXT SENDER - Fun with table rehash
Index(es):
Date
Thread