lua-users home
lua-l archive

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


>    [...]
> 
> where if lua_pushx would return 1, the then possible source code
> 
>    return lua_pushx (L, xxx)
> 
> often times would be compiled to just:
> 
>    jump lua_pushx
> 
> 
> So there would actually be a small technical benefit.

If you really want to go to this level (which I think is pure
speculation), you should consider also the cost of all useless
"mov $1, %eax" inside those 'lua_pushinteger' not used in returns
(paid by all compilers) :-)

-- Roberto