github krisk/Fuse v7.2.0

10 hours ago

Features

  • Add Fuse.use() for runtime plugin registration

Performance

  • Inline Bitap score computation to reduce object allocation in hot loops
  • Batch removeAll for O(n) bulk removes instead of O(n*k)
  • Heap-based top-k selection when limit is set
  • Cache compiled searcher for repeated queries

Benchmarked on 10k records: 9-14% faster core search, 49x faster bulk remove.

Bug Fixes

  • search: Deduplicate and merge overlapping match indices (#735)
  • search: Preserve original array indices in nested path traversal (#786)
  • types: Correct key type in FuseSortFunctionMatch (#811)
  • types: Correct keys type in parseIndex parameter (#794)

Full Changelog: v7.1.0...v7.2.0

Don't miss a new Fuse release

NewReleases is sending notifications on new releases.