lua-users home
lua-l archive

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


> > > lua -e "print(collectgarbage 'count')"
> > 
> > Lua 5.2 shows a little more than 14K and Lua 5.3 shows more than 20K.
> 
> On a MacBook Air (2011) running Lion (10.7.5) I get these numbers:
> 	5.1.5	27k
> 	5.2.3	22k
> 	5.3.0	24k
> 
> On a 32-bit Linux I get this:
> 	5.1.5	17k
> 	5.2.3	13k
> 	5.3.0	18k
> 	
> So, yes, I see an increase too, but nothing to be alarmed about.
> I haven't dug deeper, though.

Probably the "NaN trick" in Lua 5.2 explains part of the difference
in 32-bit machines.

-- Roberto