   Slow Lua
  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.   
  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   