Skip to content

Improve WUT performance by testing magnitude before visibility.

This MR improves the behaviour described in #63 for the What's Up Tonight dialog by testing the magnitude of enumerated objects before testing their visibility, which is largely more expensive.

As an illustration, this change reduces the time taken to enumerate asteroids in the What's Up Tonight dialog from ~130s to 15ms.

Merge request reports