[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Lua 5.3 Suggestion: extend lua_(get|set)uservalue() to associate userdata-to-userdata
- From: Roberto Ierusalimschy <roberto@...>
- Date: Mon, 2 Dec 2013 11:05:43 -0200
> I'm not sure I would recommend that in general any more. A
> long-lived (weak) table can grow pretty large if at one point it has
> lots of entries, and will stay that way until it is
> garbage-collected. See the recent thread on "table.new in 5.3".
That is not necessarily true. If the table keeps some trafic (elements
going in and going out), it will be resized eventually.
-- Roberto
- References:
- Lua 5.3 Suggestion: extend lua_(get|set)uservalue() to associate userdata-to-userdata, Sir Pogsalot
- Re: Lua 5.3 Suggestion: extend lua_(get|set)uservalue() to associate userdata-to-userdata, Sean Conner
- Re: Lua 5.3 Suggestion: extend lua_(get|set)uservalue() to associate userdata-to-userdata, Sir Pogsalot
- Re: Lua 5.3 Suggestion: extend lua_(get|set)uservalue() to associate userdata-to-userdata, Sean Conner
- Re: Lua 5.3 Suggestion: extend lua_(get|set)uservalue() to associate userdata-to-userdata, Sir Pogsalot
- Re: Lua 5.3 Suggestion: extend lua_(get|set)uservalue() to associate userdata-to-userdata, Sean Conner
- Re: Lua 5.3 Suggestion: extend lua_(get|set)uservalue() to associate userdata-to-userdata, Sir Pogsalot
- Re: Lua 5.3 Suggestion: extend lua_(get|set)uservalue() to associate userdata-to-userdata, Coda Highland
- Re: Lua 5.3 Suggestion: extend lua_(get|set)uservalue() to associate userdata-to-userdata, Luiz Henrique de Figueiredo
- Re: Lua 5.3 Suggestion: extend lua_(get|set)uservalue() to associate userdata-to-userdata, Philipp Janda