Your local RAG isn't slow — it re-reads every document on every question
An engineer found that their local RAG app was slow because it re-read every retrieved document from token zero on every question, with prefill dominating generation by roughly five to one. The fix involved deduplicating…