I am using @luaproc for a background calculation. It seems the calculation is much slower than the main thread. Does luaproc use plain Lua for execution or does it also use LuaJIT?
luaproc uses Lua 5.1, just like Solar itself. (Interesting timing on that particular question, though…)
It might be useful to see a small example that demonstrates your usage pattern. It’s possible that the coordination is the problem, rather than the raw speed.
Thank you for the response. Actually I take back, I was mistaken. I did a test of calculation on the main thread vs worker thread and the overhead was about 10% in a crude comparison for a 1.7 sec calculation.
I did not know that Solar 2D was based on Lua. I thought it was LuaJIT so when I was running the calculation in LuaJIT it was much faster and that caused my confusion.
Ah, I see. I didn’t consider that possibility at all. 
As my little side comment might have hinted, I’m trying to whip up a plugin that will let you run LuaJIT code, too. Presumably that should also run on separate procs. Just running code more or less works (on Mac at the moment), but I’m trying to hammer out a bunch of Lua <-> LuaJIT communication right now.