Skip to content

Releases: mourner/flatbush

v3.1.0

08 Nov 18:01
Compare
Choose a tag to compare

Add fast kNN search (index.neighbors(x, y[, maxResults, maxDistance, filterFn])).

v3.0.0

07 May 17:08
Compare
Choose a tag to compare
  • Improved internal storage format, making it ~10-15% smaller.
  • Made it much easier to reconstruct an index from a raw array buffer: Flatbush.from(index.data).
  • More resilient construction: Flatbush will catch more errors when given bad arguments or data.

Thanks to @tyrasd for the help!

v2.0.4

21 Mar 15:32
Compare
Choose a tag to compare

Fix infinite loop on new Flatbush(0) (throws an error now).

v2.0.3

21 Mar 14:48
Compare
Choose a tag to compare

Fixed search not throwing an error if called before finish.

v2.0.2

21 Mar 13:15
Compare
Choose a tag to compare
  • Slightly improved search performance.

v2.0.1

21 Mar 12:22
Compare
Choose a tag to compare
  • Improved search performance by ~30%.
  • Slightly better packing for cases where item bbox sizes vary a lot.

v2.0.0

21 Mar 11:10
Compare
Choose a tag to compare
  • ⚠️ Breaking: flatbush(...) should now be new Flatbush(...).
  • Add optional data constructor argument for reconstructing an index after transferring.
  • Use ES syntax in the exported module (doesn't affect node/browser builds).
  • Expose numItems, nodeSize, ArrayType, minX, minY, maxX, maxY properties.
  • Avoid worst case performance when data is already hilbert-sorted.

v1.3.1

18 Mar 20:18
Compare
Choose a tag to compare

Fixed a sorting bug, in turn significantly improving search performance.

v1.3.0

01 Mar 15:01
Compare
Choose a tag to compare
  • Export flatbush as a proper ES module
  • Publish browser builds

v1.2.0

01 Mar 10:05
Compare
Choose a tag to compare

Add an ArrayType argument to flatbush constructor for customizing underlying data storage type.