[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Discard luaL_Buffer?
- From: "Taj Khattra" <taj.khattra@...>
- Date: Tue, 27 May 2008 22:36:37 -0700
> The question is how to discard buffer in this case? Calling
> luaL_pushresult() and popping it back seems to be unnecessary
> expensive
you said it's going to fail in the rare case. by calling
luaL_pushresult() and popping it, you pay the same price
as you would in the common (no failure) case.
so i wouldn't be too concerned about it.