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
Statistics don't need to clear the whole container div every time an update is received. Hold on to the current stats that generated the page and compute some kind of lazy 'diff' to tell what needs to be cleared. Additionally, only grab stats if the 0th track in global play queue has changed (i.e. the current track is changing) as this is the only action that will cause a change in statistics. This can probably go for history as well.
The text was updated successfully, but these errors were encountered:
Statistics don't need to clear the whole container div every time an update is received. Hold on to the current stats that generated the page and compute some kind of lazy 'diff' to tell what needs to be cleared. Additionally, only grab stats if the 0th track in global play queue has changed (i.e. the current track is changing) as this is the only action that will cause a change in statistics. This can probably go for history as well.
The text was updated successfully, but these errors were encountered: