[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: using tables as keys
- From: Renato Maia <maia@...>
- Date: Tue, 20 Jul 2010 13:36:16 -0300
On 20 Jul 2010, at 04:42, Alexander Gladysh wrote:
You need to do your comparison manually.
In general, this is not a trivial task (tables may contain
cross-references etc.).
See this for complete (I think) implementation:
http://github.com/lua-nucleo/lua-nucleo/blob/master/lua-nucleo/tdeepequals.lua
Also see:
http://loop.luaforge.net/library/debug/Matcher.html
--
Renato Maia
Computer Scientist
Tecgraf/PUC-Rio
__________________________
http://www.inf.puc-rio.br/~maia/