lua-users home
lua-l archive

lua newbie question: is OO in lua too slow?

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


sorry if this is an FAQ but looking at
http://lua-users.org/wiki/ObjectBenchmarkTests, it seems that:
1) the standard ways of doing OO in Lua has a large overhead.
2) best way seems to the "closure method"
anyone got a comment on that?
does not matter how the OO stuff is done?
and when folks optimize a slow Lua script, is the *first* thing that
they look at is the class system and change that? or...?
ADVAthanxNCE,
Tim Menzies

AltStyle によって変換されたページ (->オリジナル) /