On Tue, Oct 18, 2011 at 1:30 PM, Jerome Vuarand
<jerome.vuarand@gmail.com> wrote:
2011/10/18 Oskar Forsslund <matrixsmurfen@googlemail.com>:
>>
>> 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.