[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: equals metamethod and hash functions
- From: Dave Dodge <dododge@...>
- Date: Wed, 8 Jun 2005 22:56:43 -0400
On Wed, Jun 08, 2005 at 06:22:07PM -0500, Rici Lake wrote:
> On 8-Jun-05, at 6:05 PM, Dave Dodge wrote:
> If the objects are all unique, you can just use them as keys. No
> conversion necessary.
> I think the issue here is that he wants to create equivalence classes
> of objects.
Right, sorry. After a bit more reading I realized I misunderstood the
problem, since as you say if he just wanted to make sets of tables he
could use the tables themselves as the keys.