lua-users home
lua-l archive

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


Note that this system incurs the overhead of allocating a closure on every
method call. If one is willing to pay that overhead, it's probably worth
looking at what Python does on method dispatch since as I recall it has a
fairly flexible implementation but it too pays the closure creation price.

But I am not a Python expert by any means.

Mark