miwarnec / DOTSNET

Public DOTSNET issue tracker
20 stars 0 forks source link

DistanceInterestManagementSystem.RebuildObservers could be faster #52

Open Nyert opened 3 years ago

Nyert commented 3 years ago

the inner loop is using "math.distance" which internally does a square root operation which can be avoided by comparing a visibility radius squared and using "math.distancesq" image