Skip to content

Releases: mourner/flatbush

v4.4.0

29 Jan 11:24
Compare
Choose a tag to compare

Support index.add(x, y) alias which is the same as index.add(x, y, x, y) — a convenient way to add points to the index.

v4.3.0

20 Jan 18:45
Compare
Choose a tag to compare

Accept byteOffset as an optional argument in Flatbush.from (for recreating an index from a part of a buffer). #55 by @kylebarron

v4.2.0

01 Jun 08:12
Compare
Choose a tag to compare
  • Fix a bug where index.neighbors(x, y) without other arguments would freeze in an infinite loop. #50
  • Improve performance of distance-bounded neighbors queries. ce745ee
  • Introduce first-class TypeScript typings in place of third-party ones from DefinitelyTyped. #47

v4.1.0

10 Apr 12:47
Compare
Choose a tag to compare
  • Add SharedArrayBuffer support by @jdesboeufs in #46.
  • Minor performance optimizations.
  • Switch to native Node test runner for development (requiring Node v18+ to contribute).

v4.0.0

29 Mar 20:15
Compare
Choose a tag to compare
  • ⚠️ Drop CommonJS entry point in favor of a ESM-only Node entry point.
  • Drop bundle transpiling and support for IE11 (users can still do that on their end).
  • UMD bundle for browsers is still available.

v3.3.1

28 Mar 09:32
Compare
Choose a tag to compare
  • Slightly improve kNN search performance. 6903d4b
  • Fix an error when data extend had zero width or height. 306fecf #34

v3.3.0

14 Apr 14:43
Compare
Choose a tag to compare
  • Improve indexing performance by 5–8%. #29
  • Add a fast path for the case of the number of items being less than nodeSize. #28

v3.2.1

18 Mar 16:32
Compare
Choose a tag to compare

Improve kNN performance by ~10-15%.

v3.2.0

06 Feb 08:26
Compare
Choose a tag to compare

index.add(x0, y0, x1, y1) now returns the item's index.

v3.1.1

04 Jan 15:50
Compare
Choose a tag to compare

Slightly faster kNN search.