spherulitic / xerafin3

Xerafin Word Study System
1 stars 0 forks source link

Improve efficiency when querying to getQuestionsFromCardbox #86

Open spherulitic opened 1 year ago

spherulitic commented 1 year ago

The algorithm to get questions from the cardbox is:

This is insane. The driver behind this is that makeWordsAvailable() operates in a specific increment (adding new words, pulling from backlog, etc).

However, makeWordsAvailable() should take an argument telling how many words should be made available, so we only have to run it once.