Skip to content
QtWS25 Last Chance
  • 0 Votes
    14 Posts
    1k Views
    JonBJ
    @jeremy_k said in Console App how to populate a 10.000*10.000 Grid efficiently?: A easy optimization for setting a quadrant or an entire 2d space as a single color is to remove all subtrees of that tree, Absolutely. If that's the sort of thing you want to do. Doesn't seem to relate to toggling the state of 100,000 adjacent bits in 5 million. it stores all squares that shall be changed in a vector. The squares changed can be anywhere in this big map, eventually reaching many millions of squares needed to be changed at onces. If that is what you need to do, again I'm not sure I see any use of these quadtrees. But only you need the exact situation.
  • 0 Votes
    1 Posts
    258 Views
    No one has replied