ObsidianToAnki / Obsidian_to_Anki

Script to add flashcards from text/markdown files to Anki
GNU General Public License v3.0
1.54k stars 136 forks source link

it takes too long to sync when I add a custum deck of more than 30,000 cards #565

Open chrononaute opened 7 months ago

chrononaute commented 7 months ago

I've been using Obsidian_to_Anki to create and update my personal vocabulary deck, which currently contains about 3000 cards and counting. So far, I haven't experienced any syncing issues, and the process usually takes about 1 seconds to complete.

However, after adding a custom deck named "Anking" with over 30,000 cards, the syncing time for my vocabulary deck has increased to approximately 8 to 10 seconds. I suspect that the plugin is scanning all the cards in my Anki profile instead of just the designated vocabulary deck, causing the delay.

Is there a way to configure Obsidian_to_Anki to only scan cards in the designated vocabulary deck so it can reduce the syncing time?

I need both of the decks and since I heavily edit my vocabulary cards with Obsidian while reviewing them on Anki, I need a solution to minimize syncing time while maintaining both decks.

MisterPresident commented 6 months ago

Same decks, same problems. If I have time I would look into the algo.