[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: How to collect as much as possible with collectgarbage() ?
- From: Roberto Ierusalimschy <roberto@...>
- Date: Fri, 10 Jul 2009 08:35:40 -0300
> That would be the luaL_Buffer used in read_chars (@liolib.c), right?
No. It is an internal buffer used by the core to perform concats.
(luaL_Buffer uses concats to build its results.)
> So, I'd have to take care of issuing enough collectgarbage's after
> reading large files or calling table.concat, right?
Yes, if you really need all the memory back as soon as possible.
-- Roberto