Releases: mourner/flatbush
Releases · mourner/flatbush
v3.2.1
18 Mar 16:32
Compare
Sorry, something went wrong.
No results found
Improve kNN performance by ~10-15%.
v3.2.0
06 Feb 08:26
Compare
Sorry, something went wrong.
No results found
index.add(x0, y0, x1, y1) now returns the item's index.
v3.1.1
04 Jan 15:50
Compare
Sorry, something went wrong.
No results found
Slightly faster kNN search.
v3.1.0
08 Nov 18:01
Compare
Sorry, something went wrong.
No results found
Add fast kNN search (index.neighbors(x, y[, maxResults, maxDistance, filterFn])).
v3.0.0
07 May 17:08
Compare
Sorry, something went wrong.
No results found
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
Sorry, something went wrong.
No results found
Fix infinite loop on new Flatbush(0) (throws an error now).
v2.0.3
21 Mar 14:48
Compare
Sorry, something went wrong.
No results found
Fixed search not throwing an error if called before finish.
v2.0.2
21 Mar 13:15
Compare
Sorry, something went wrong.
No results found
Slightly improved search performance.
v2.0.1
21 Mar 12:22
Compare
Sorry, something went wrong.
No results found
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
Sorry, something went wrong.
No results found
⚠️ 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.