[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: boolean operators
- From: Glenn Maynard <glenn@...>
- Date: Thu, 28 Sep 2006 18:14:40 -0400
On Fri, Sep 29, 2006 at 07:55:13AM +1000, D Burgess 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.
> >It would also settle the operator vs. function discussion (as far
> >as performance is concerned).
> A very valuable suggestion. Please dont let this idea get lost
> in the more detailed discussion.
Just so nobody loses it, this thread was split off; see