lua-users home
lua-l archive

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


On 18/10/2011 13.14, Oskar Forsslund wrote:
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

You could try measuring times on the C/C++ side, to determine where time is spent on that side. Also, try skipping the calls from the Lua side to see how much time is spent on that other side. The remaining time should be cross-language calling time.

(I know, easier said than done, but you could find unexpected results)

--
  Enrico