DOTSNET icon indicating copy to clipboard operation
DOTSNET copied to clipboard

DistanceInterestManagementSystem.RebuildObservers could be faster

Open Nyert opened this issue 4 years ago • 0 comments

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

Nyert avatar Aug 25 '21 13:08 Nyert