[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: collected c calls faster?
- From: Oskar Forsslund <matrixsmurfen@...>
- Date: Tue, 18 Oct 2011 13:34:45 +0200
but i dont need to do lua_call on it, i just call it like any function pointer
On Tue, Oct 18, 2011 at 1:30 PM, Jerome Vuarand <firstname.lastname@example.org>
2011/10/18 Oskar Forsslund <email@example.com>:
>>In your original example, you pass some_c_call1 as a parameter, so one
>> But what you did was just shuffling around the calls.
> Is it? Now i only do one c_call from lua and the other calls (I believe) are
> now pure c++ calls which should be faster
can only assume it is a lua_CFunction and that you have to lua_call
it. And a lua_call is nothing near a pure C++ call.