Navigation

    forum

    • Login
    • Search
    • Categories
    • Recent
    • Popular
    • Users
    • Groups
    1. Home
    2. _PYRO42_
    3. Topics
    • Flag Profile
    • block_user
    • Profile
    • Following
    • Followers
    • Topics
    • Posts
    • Groups
    • Blog

    Topics created by _PYRO42_

    • Confusing information - Memory CPU use in parsing
      Help • • _PYRO42_

      4
      4
      Posts
      5763
      Views

      Thanks you very much for your answers!So I don't need to make a single string for my paths since I only need one direction for each ticks. I may just need to increment a value like :i=Memory.paths[pathName].positionIncdirectionToMove = Memory.paths[pathName].arrayOfDirections[i]But when using FlowFields to move and entire army, it is better to memoryze the entire FlowField in a string since We'll need the entirety of it all the time. We don't want the retrieve 200 addresses everyticks.One last check :Wich one of thoses line will take more CPU ?Game.screeps.Alin_Du_Jardin.nameMemory.screeps.Alin_Du_Jardin.nameWe assume that we have a copy or Game.screeps in Memory.screeps.
    • User interface - LARGE
      Help • • _PYRO42_

      4
      4
      Posts
      5353
      Views

      Thank you very much rndr!Also thanks you too Ross. I know I should but... For some masochistic reasons I want to debug using the vanilla IDE. If I grow a bigger colony maybe. My basic scrips are almost finished, I may start today.