-
Notifications
You must be signed in to change notification settings - Fork 90
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
LuaIntf performance issue #93
Comments
lua-intf should be relative light-weight, if you need better performance:
|
Okay I will try exploring this more. Because the functions I was calling were quite simple for the amount of overhead I was receiving. |
So I did some more digging and even built Lua into my engine with debug symbols so I could examine where the overhead was coming from inside Lua. Here are the lua c api calls that seem have the most problems
After exploring what these functions actually do. Is there really that much overhead involved with retrieving the data from lua tables using the C api? Im not sure if it will help me, but a suggestion was made to look into LuaJIT to curb some of this overhead. Let me know if u think it will help. |
Currently, I've been profiling my game engine which utilizes luaintf to expose some of the engine class objects to lua scripts. I've noticed that there is a significant performance drop from calling functions bound using your library. Have you ever come across any performance issues with luaintf? and if so, do you have any suggestions on how to lower the impact on performance.
Thanks.
The text was updated successfully, but these errors were encountered: