Re: [ANN] Lua 5.4.0 (alpha-rc1) now available
[
Date Prev][
Date Next][
Thread Prev][
Thread Next]
[
Date Index]
[
Thread Index]
- Subject: Re: [ANN] Lua 5.4.0 (alpha-rc1) now available
- From: nobody <nobody+lua-list@...>
- Date: Sat, 1 Jun 2019 05:47:45 +0200
On 01/06/2019 03.31, Soni "They/Them" L. wrote:
local num_iterations = 1e8
local table_width = 1e8
is this measuring GC performance or RNG performance?
Neither.
With these settings, roughly 75% of the slots get at most 1 assignment,
or only about 25% of the tables will become garbage. >98% of the slots
are assigned to less than 4 times – GC is bored. And the RNG just gets
lost in the noise of 1e8 table creations and all that entails…
-- nobody