[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: Modules and lexical scope
- From: Nevin Flanagan <Alestane@...>
- Date: Mon, 12 Jul 2010 22:05:18 -0400
On Jul 12, 2010, at 9:58 PM, David Manura wrote:
> The performance problems might be solved via a table that is lazily
> copied on use. Therefore, only fields that are used are copied, the
> __index overhead is avoided on subsequent accesses, and writes--though
> not prevented at run-time at least--do not harm the original table.
There was a period where this strategy was frequently adopted by authors of user interface add-ons to World of Warcraft. It seems to have fallen somewhat from favor at the moment.