aidam38 / roamsr

Spaced Repetition in Roam Research
https://roamresearch.com/#/app/roam-depot-developers/page/uQSCwVKx0
98 stars 18 forks source link

Cache information about review blocks #53

Open cristiansofronie opened 2 years ago

cristiansofronie commented 2 years ago

With a big database a query takes 3 seconds or more. That is a lot since a query is made on every single card. This pull request makes it so that a query is run only when it is absolutely necessary.

Can use this to see the difference: s.src = "https://gregarious-daifuku-fbfc4b.netlify.app/js/stable.js";