Files
pnpm/store
Zoltan Kochan 541350fd33 perf: fix store integrity reading hanging on large stores
readStoreIntegrities was O(n²) — Array.includes() for dedup on every
entry. It also used entries() which msgpack-decodes every value even
though only keys are needed.

Fix: add StoreIndex.keys() that runs SELECT key (no data decode), and
use a Set for O(1) dedup. A 22MB store index now reads in milliseconds
instead of hanging indefinitely.
2026-04-08 17:10:04 +02:00
..