- Remove per-call _ensure_junction (junction tables already exist) - Load existing word/question links upfront (2 GET requests instead of N) - Batch POST all new words_objects links in a single request - Batch POST related_words and distractor_words per new question - Eliminates O(N) serial GET+POST pattern in favour of O(1) upfront dedup + batch writes Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
65 KiB
65 KiB