DarrenKelly / ScoutBadgeTrackerConsole

Desktop application for ScoutBadgeTracker
MIT License
0 stars 0 forks source link

Milestone tracking code is inefficient #1

Open DarrenKelly opened 1 year ago

DarrenKelly commented 1 year ago

The code around milestones is inefficient. Thereare O(n2) algorithms that can be replaced with O(n) with a little thought.

In practice the number of cubs preset on the screen is going to be < 40 most of the time so there's generally no perceptable impact for the user most of the time. But still - it's ugly.