You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Now that the location list is pretty large, the fact that we do 3 separate full loops (map(), filter(), sort()) to merge, then filter, then sort is noticeably slow, so they should be combined to reduce as much as possible.
The text was updated successfully, but these errors were encountered:
nvm, looks like the filtering and sorting is milliseconds quick, it's alpines generating the template and adding it to the DOM that takes a few seconds. Not sure there's anything we can do to improve this, but there may be performance tweaks to help alpine.
pettazz
changed the title
Combine merge/filter/sort
Slow loading large locations lists
Mar 8, 2021
Now that the location list is pretty large, the fact that we do 3 separate full loops (map(), filter(), sort()) to merge, then filter, then sort is noticeably slow, so they should be combined to reduce as much as possible.
The text was updated successfully, but these errors were encountered: