[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Possible Lua enhancements (mostly for private data)
- From: Roberto Ierusalimschy <roberto@...>
- Date: Thu, 18 Dec 2008 09:09:01 -0200
> The problem with inside-out objects is the susceptibility to weak-
> table-based cycles. I gather those are being addressed in 5.2, but I
> don't know at what cost.
The paper about it has some cost estimates:
http://www.inf.puc-rio.br/~roberto/docs/ry08-06.pdf
Basically, the costs are low unless you do something weird (such as a
long chain of key1->value1->key2->value2->...).
-- Roberto