Skip to content

v4.9.0

Latest

Choose a tag to compare

@mourner mourner released this 26 Nov 11:04
  • πŸš€ Indexing is up to 1.9Γ— faster for inputs of 2K–100K items (radix sort now kicks in earlier and uses 3 passes).
  • πŸš€ neighbors() is 7–18% faster.
  • ⚠️ finish() and Flatbush.from() now throw if any item has NaN coordinates. Before, these silently broke search.
  • Fixed neighbors() with a NaN query point; it now returns no results.
  • Fixed the constructor to reject a non-integer numItems and handle a non-numeric nodeSize.
  • Flatbush now has zero dependencies (flatqueue was inlined).
  • filterFn in TypeScript types may now return any truthy value, not just a boolean.