Optimization

Drawmeus

Emperor
Joined
Jul 25, 2007
Messages
1,213
Are there optimization concerns for Lua function calls into the DLL? E.g. is it more expensive for Lua plot:GetX() to find the X coordinate of the plot than it would be for CvPlayer has to call into CvPlot to find X within the DLL itself?

If it is more expensive to go through that interface, does this scale much with number of variables returned, or is it just additional overhead per transaction? (Is it even transactional?)
 
Top Bottom