Rarity

Rarity

17M Downloads

Improve sorting performance: Sorting by zone

rdw-software opened this issue ยท 1 comments

commented

Source: #100

https://user-images.githubusercontent.com/16489133/126032794-606c5d60-fa80-44a3-9a29-457ea7604692.png

Should be MUCH faster than this. Can likely use lookup tables to trade memory for CPU time?

commented

#411 improved this, to some extent:

image

Further improvements will require simplifying the comparator function, especially the numerous calls into the Waypoints API. I don't know what the hell is going on there, but it sure isn't fast:

image

Ignore the significant overhead introduced by adding profiling labels; the gist is that it's mostly the API calls that slow this down tremendously.