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
Currently the items in the history are loaded in the order oldest to newest,
The history page, however, is ordered from newest to oldest.
This means that the list of history items is re-rendered for every item (although this is quite unneccesary)
Each render takes time proportional the amount of already loaded items, resulting in an O(n^2) total time, anything more than O(n) is totally unnecessary. This can be very noticeable (taking almost a minute and more) after some months of history.
Alternative solution, automatically remove items older than some set amount of time, since they become fairly irrelevant after some time (can probably be combined with a fix for #97)
The text was updated successfully, but these errors were encountered:
Currently the items in the history are loaded in the order oldest to newest,
The history page, however, is ordered from newest to oldest.
This means that the list of history items is re-rendered for every item (although this is quite unneccesary)
Each render takes time proportional the amount of already loaded items, resulting in an O(n^2) total time, anything more than O(n) is totally unnecessary. This can be very noticeable (taking almost a minute and more) after some months of history.
Alternative solution, automatically remove items older than some set amount of time, since they become fairly irrelevant after some time (can probably be combined with a fix for #97)
The text was updated successfully, but these errors were encountered: