PowerfulBacon / GJ2022

A 2D sandbox game where you command pawns to construct a space station.
5 stars 0 forks source link

Large numbers of pawns lag the game due to Spiral getters #95

Closed PowerfulBacon closed 2 years ago

PowerfulBacon commented 2 years ago

The spiral getters cause pawns to create large amounts of lag.

PowerfulBacon commented 2 years ago

By large amounts of pawns I mean >10000 corgis

PowerfulBacon commented 2 years ago

We need a way (preferably as close to O(1) as possible) to check if a certain item is in range.