title: Is there any better way to access patch and turtle 's variables at each tick?
body: <p>I need to update each turtle's wealth variable at each tick which by number of calls is on top of my profiler list.</p>
  
  <p>I am sure the most computation time goes to calculating how many other agents are using same patch for their home and calculating the share for each turtle. food_carrying and my-home are turtle's properties and Storage is patch property.</p>
  
  <pre><code>to update-wealth
    let h my-home
    set wealth ([Storage] of my-home / (Count agents with [my-home = h]))  + food_carrying
  end
  </code></pre>
  
  <p>Can you think of any better way to do it ? </p>
  
  <pre><code>Name                               Calls Incl T(ms) Excl T(ms) Excl/calls
  UPDATE-WEALTH                    9744912 831703.608 461086.654      0.047
  </code></pre>