lua-users home
lua-l archive

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


> But now, if you want to stop the GC after collectgarbage(), you can
> explicitly call collectgarbage"stop" .
> Perhaps the change would make it more logical, but i don't think it makes a
> lot of difference.
> 
> Or does it?

The main problem is compatibility. If a program relies on the current
behavior, this change will make the program run forever with the
collector stopped. So, someone changes from Lua 5.1 to Lua 5.2 and
suddenly his program starts consuming huge ammounts of memory; this
is not good publicity :)

-- Roberto