lua-users home
lua-l archive

Re: Slight suggestions about luaB_print() ?

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


> I'm just not sure if this is a good idea if the stack can't grow on
> forever without penalty? I just thought it might (possibly?) be more
> efficient to let those converted strings be popped anyway when we
> return from the function.
lua_pop is not that slow. Moreover, in general it's a good idea to keep 
the stack small, especially in a loop. The stack does not grow automatically.

AltStyle によって変換されたページ (->オリジナル) /