-
Notifications
You must be signed in to change notification settings - Fork 23
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
Deleting an entry from the cache is extreemly slow #7
Comments
Are you using an up-to-date version? Some of the last commits added a Sql LIMIT which should speed up things. If you're already on the latest version I might look into it once more. |
yes this was on a 160mb. sqlite db and a git from today. |
Did some more measurements, currently deleting takes 35 seconds on a 195mb sqlite db.. This is unacceptable long. |
There was really this somewhere in the source:
..because of debugging purpose. It is faster now. :D |
* master: Fixed indentation Replaced levenshtein functions in autohelp.c through the API Replaced get_next_word with g_strsplit in autohelp.c Updated readme a tad sahib#11 (??) Updated readme a tad sahib#10 (??) Updated readme a tad sahib#9 (??) Updated readme a tad sahib#8 (??) Updated readme a tad sahib#7 Updated readme a tad sahib#6 Updated readme a tad sahib#5 Updated readme a tad sahib#4 Updated readme a tad sahib#3 Updated readme a tad sahib#2 Updated readme a tad Removed silly swig stuff in types.h Conflicts: src/glyrc/autohelp.c
time glyrc cover --drop -c ~/.cache/gmpc/metadata/ -a "Jon Lord" -b "Jon Lord blues project - Live"; time glyrc cover -c ~/.cache/gmpc/metadata/ -f "local:-all" -a "Jon Lord" -b "Jon Lord blues project - Live"
Deleted 1 item from cache.
real 0m11.167s
user 0m10.980s
sys 0m0.170s
---- Triggering: local
=> 0 item(s) in total.
real 0m0.012s
user 0m0.000s
sys 0m0.010s
The text was updated successfully, but these errors were encountered: