lua-users home
lua-l archive

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


On Friday 22 September 2006 3:58 pm, Mike Pall wrote:
> Note that the main speed disadvantage of functions vs. operators
> (around 5x) in interpreted Lua is due to the call frame setup and
> teardown overhead. One way to speed this up would be to add
> "frameless" C functions which operate in the frame of the caller.
> Especially trivial functions (math.*) would benefit a lot.

that seems like a much neater idea than the current discussion

-- 
Javier

Attachment: pgpp2BKsw6uqW.pgp
Description: PGP signature