I Benchmarked My Search Library Against Array.filter. It Lost Twice.
Array.filter is the right default for searching data in memory. I built KiaraDB, an open-source search engine for TypeScript and Java, and it makes the opposite trade: it spends seconds preparing per-