Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Optimise typing in playlist view to jump to items in foobar2000 2.0 #629

Merged
merged 1 commit into from
Nov 21, 2022

Conversation

reupen
Copy link
Owner

@reupen reupen commented Nov 20, 2022

Resolves #602

This changes how typing in the playlist view to jump to items works in foobar2000 2.0 to improve performance.

Previously, it formatted tracks and columns individually, including style scripts, where this information wasn't already cached.

Now, it formats tracks in large batches, and only formats the display script for the first column. This performs better in foobar2000 2.0. There is also no longer any long-term caching involved.

@reupen reupen force-pushed the optimise-playlist-view-search-2-0 branch from fe579ae to d58cda5 Compare November 20, 2022 14:44
This changes how typing in the playlist view to jump to items works in foobar2000 2.0 to improve performance.

Previously, it formatted tracks and columns individually, including style scripts, where this information wasn't already cached.

Now, it formats tracks in large batches, and only formats the display script for the first column. This performs better in foobar2000 2.0. There is also no longer any long-term caching involved.
@reupen reupen force-pushed the optimise-playlist-view-search-2-0 branch from d58cda5 to 04b7ba9 Compare November 21, 2022 20:49
@reupen reupen marked this pull request as ready for review November 21, 2022 20:50
@reupen reupen merged commit 9b630ce into master Nov 21, 2022
@reupen reupen deleted the optimise-playlist-view-search-2-0 branch November 21, 2022 21:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Typing in playlist view to jump to an item is initially slow in foobar2000 2.0
1 participant