lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


On Wed, Jun 10, 2009 at 11:34 AM, Mark Hamburg wrote:
> With regard to __setindex ...

Something I haven't been entirely comfortable with metatables is how
they don't completely virtualize indexing.  You have an index and then
you have a raw index.  Some operations index their arguments; others
raw index.  The proposed __pairs/__ipairs/__len (__next?) in 5.2
overcome some problems though.