Technical changes #82
AlUlkesh
announced in
Announcements
Replies: 1 comment
-
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Filtering by ranking or aesthetic_score had been slow, because the filter went through every image and checked if there was an entry for it. I thought it should be much more efficient to do this all at once and let the database handle the join.
This update contains that change. A filter by ranking that took 25 seconds with 16 000 images before, now takes under a second. I think that's acceptable.
There are some related changes / issues that go with that:
Previously when getting a ranking for a file, if there was no match with the full filename-path, the code would search again with only the filename. This was so, that if files had moved, the ranking could be caught.
However this also slowed the normal process down, because it had to be done for every file without a ranking, which (at least for me) is the majority by far.
I have removed this logic now and replaced it with a new maintenance option. When you move files and want to retain their rankings, please go to the maintenance tab and hit "Reapply ranking after moving files".
Another thing: At the moment there is still an option in the settings to run the Image Browser without scanning for EXIF data. I'll keep this in for now, but you will only have the barest of features if you use this. The reasons for this is, that I can't maintain two completely different code bases for with and without EXIF.
Beta Was this translation helpful? Give feedback.
All reactions