[Feature Request]: Use sql to delete all unlinked entries simultaneously #617
Labels
Priority: Low
Doesn't require immediate attention
TagStudio: Library
Relating to the TagStudio library system
Type: Enhancement
New feature or request
Type: QoL
A quality of life (QoL) enhancement or suggestion
Checklist
Description
As per this TODO:
Currently when deleting unlinked entries, they are deleted one-by-one, only so they can update the progress bar.
I believe it would be better to let the progress bar be indeterminate and speed up the deletion by deleting all items in parallel.
In brief testing the speedup was significant enough that the progress bar was no longer visible long enough for the lack of visible progress to matter :^)
Solution
Instead of calling
remove_entries
with one id at a time, pass all relevant IDs simultaneously.Alternatives
No response
The text was updated successfully, but these errors were encountered: