lua-users home
lua-l archive

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


> It's quite natural: instead of "referenced" think about a key as
> "reproducible".  I can reconstruct numbers, booleans and strings
> *identically* from thin air at any time.  This does not hold for other
> collectable types.  For weak valued tables there is a nice analogy:
> these can be thought of as functions.  If you cannot reproduce a
> certain input, it's pointless to keep the output.

Brilliant!

-- Roberto