lua-users home
lua-l archive

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


On Friday 23 March 2007, Philippe Lhoste wrote:
> Eg. I have @'c' which is sugar for (!'c' .) * 'c', but if the user types
> the second expression, he will get a non-optimized bytecode... Detecting
> such constructs and folding them to the specialized opcode will come
> later... if ever!

AFAIK, using syntactic sugar means generating the same bytecode as the 'model' 
expression.  having a special opcode is not sugar, it's meat.

-- 
Javier

Attachment: pgptF4PFmXfmY.pgp
Description: PGP signature