[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: Still struggling with table access tracking
- From: Mark Hamburg <mhamburg@...>
- Date: Thu, 03 Jun 2004 23:28:56 -0700
I think this case would be helped by adding support for:
table.swap( t1, t2 )
If t1 and t2 are tables, then the result of this routine is to swap their
contents (presumably by swapping the data pointed to by the Lua table data
structures). If they aren't both tables, then an error is signaled.
This would help because you could change a table into a tracked table
without changing its identity and requiring everything that references it to
start referencing the new table.