[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: collected c calls faster?
- From: Jerome Vuarand <jerome.vuarand@...>
- Date: Tue, 18 Oct 2011 13:30:18 +0200
2011/10/18 Oskar Forsslund <firstname.lastname@example.org>:
>> 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
In your original example, you pass some_c_call1 as a parameter, so one
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.