[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Weak keyed tables with primitive keys
- From: Roberto Ierusalimschy <roberto@...>
- Date: Wed, 21 Oct 2009 16:54:50 -0200
> 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