[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Ideas on skipping <self.> prefix?
- From: Luiz Henrique de Figueiredo <lhf@...>
- Date: Wed, 17 Dec 2003 20:42:52 -0200
>I am experimenting with things that would let one to imply <self.> instead of typing it. Below is the idea that works so far. Basically, implicit <self.> slows calls by a factor of 10-20. But with some code the difference is more like 3x.
Some of this time is probably the table creation implicit in vararg functions.
We plan to avoid this in Lua 5.1.
--lhf