Skip to main content
gamedev.net
🔒 Locked

Slow Lua

Started by yxrkt 0 replies 1.1k views
Original Post
yxrkt
yxrkt
I am using the AMD profiler to profile the game. The number one time consumer (by far) is a function called luaC_separateudata. I couldn't find any documentation for this function on lua.org, and I have no idea what it's doing or why it takes more than 10x as much time as the second place function.
Toolmaker
Toolmaker
A quick google search reveals that the function is most likely related to the garbage collection of Lua. See this link for a little bit of more information.

Toolmaker
 

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.