eshapard / AnkiHabitica

Anki 2.0/2.1 add-on for use with HabitRPG. Automatically scores habits when you reach the end of your Anki timebox and when you review all cards in a deck.
GNU General Public License v3.0
197 stars 31 forks source link

Is there a way to make it run faster? #37

Closed JackElsey closed 7 years ago

JackElsey commented 7 years ago

This add-on is great, but it causes a small (<1 second) lag every time I review a card. I have about 15-20 decks, but I'd prefer not to consolidate them just to make an add-on run faster. I have deckpoints set to zero. Is there another way to make this add-on run faster?

JackElsey commented 7 years ago

Sorry, I didn't see the other identical issue: https://github.com/eshapard/AnkiHabitica/issues/27

I'll close this out.

eshapard commented 7 years ago

Edit the ankihabitica.py file and change the settings that control scoring. Setting one of them to 0 will disable database checks for that item. That will speed things up for you.