Reviewing merge request #119: Nanno playlist: performance change A (fewer notifyObservers)
Let SqlTrack batch metadata updates into 1 notifyObservers() call.
This helps playlist performance because each metadataChanged() call becomes a Qt dataChanged() signal in PlaylistModel.cpp, which then forces SortProxy to do re-sort work and GroupingProxy to do re-group work.
This commit must be verified by someone who knows SqlMeta.cpp well.
Commits that would be merged:
Version 1
- 4a67e0d
- 3617b37
Playlist performance: let SqlTrack::finishedPlaying() do only 1 notifyObservers().
Showing
4a67e0d-3617b37

Add a new comment:
Login or create an account to post a comment