music: fix song build bottleneck

Fix redundant separator parsing obliterating loading performance.

If there are no separators configured, the parsing function would not
short-circuit and instead do a useless O(n) iteraton (including
escaping!), massively reducing performance.

Song build performance still isn't the best (blame intelligent
sorting), but it's definitely better now.
This commit is contained in:
Alexander Capehart
2023-06-01 20:16:39 -06:00
parent f9ccb831d8
commit a37df594e7
5 changed files with 15 additions and 3 deletions
+1
View File
@@ -10,6 +10,7 @@
- Albums implicitly linked only via "artist" tags are now placed in a special
"appears on" section in the artist view
- Album covers that are not 1:1 aspect ratio are no longer cropped
- Optimized library creation phase of the music loading process
#### What's Fixed
- Prevented options such as "Add to queue" from being selected on empty artists and playlists