mirror of
https://github.com/motajs/template.git
synced 2026-09-15 03:18:50 +08:00
- Add internal DistanceHeap (binary min-heap, lazy stale-entry skip) colocated in finder.ts
- search() extraction now pops the heap instead of scanning the full dist map
- Restore NaN-aware cost guard (!Number.isFinite || < 0) dropped in
|
||
|---|---|---|
| .. | ||
| src | ||
| package.json | ||