Don't try to prune unless we're updating
Pruning is very expensive and we won't need it in the future anyways. This brings startup back to previous speeds (before songvec changes).
This commit is contained in:
parent
cce2f93de7
commit
cfc2dd3e94
|
@ -150,5 +150,6 @@ void readSongInfoIntoList(FILE *fp, struct songvec *sv,
|
|||
if (song)
|
||||
insertSongIntoList(sv, song);
|
||||
|
||||
songvec_prune(sv);
|
||||
if (isUpdatingDB()) /* only needed until we get rid of forked update */
|
||||
songvec_prune(sv);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue