[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: Tuples and other constant values
- From: Coda Highland <chighland@...>
- Date: Mon, 6 Jul 2015 12:20:26 -0700
On Mon, Jul 6, 2015 at 12:00 PM, Tim Hill <firstname.lastname@example.org> wrote:
> At this point it’s quite trivial to write a small C
> library that, given such a “tuple table”, would return a unique userdata
> item (garbage collected) that was (a) the same item for any identical tuple
> table and (b) a different item for any non-identical tuple table (where
> “identical” means the same value at the same sequence index in the tuple
> table, applied recursively to nested tuple tables).
Why do you need userdata for this at all? This behavior is already
present with normal tables.