lua-users home
lua-l archive

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


Steve Donovan wrote:
No novelties really, except that inheritance is done by copying the
base fields into the derived classes. This will give better performance at the cost of making the class tables larger.

I think that's the right way to do it.  Class tables tend not
to be very large in either case, but the speed of method and
attribute access can be quite critical.

--Adam
--
Adam D. Moss   . ,,^^   adam@gimp.org   http://www.foxbox.org/   co:3