1. We have added a Gift Upgrades feature that allows you to gift an account upgrade to another member, just in time for the holiday season. You can see the gift option when going to the Account Upgrades screen, or on any user profile screen.
    Dismiss Notice

Optimization

Discussion in 'Civ5 - SDK / LUA' started by Drawmeus, Dec 24, 2012.

  1. Drawmeus

    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?)
     

Share This Page