Releases: mourner/flatbush
Releases · mourner/flatbush
v4.5.0
09 Aug 16:01
Compare
Sorry, something went wrong.
No results found
For search, pass item bounding box values to filterFn (#68 ), enabling the following pattern where a function is used to handle results instead of an array of ids:
index . search ( 10 , 10 , 20 , 20 , ( i , x0 , y0 , x1 , y1 ) => {
console . log ( `Item found: ${ items [ i ] } , bbox: ${ x0 } ${ y0 } ${ x1 } ${ y1 } ` ) ;
} )
Up to 20% faster k-nearest-neighbors queries on large k numbers.
v4.4.1
05 Jul 19:52
Compare
Sorry, something went wrong.
No results found
Fix an edge case where certain degenerate input could lead to stack overflow (h/t @muendlein ). #65
v4.4.0
29 Jan 11:24
Compare
Sorry, something went wrong.
No results found
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
Sorry, something went wrong.
No results found
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
Sorry, something went wrong.
No results found
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
Sorry, something went wrong.
No results found
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
Sorry, something went wrong.
No results found
⚠️ 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
Sorry, something went wrong.
No results found
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
Sorry, something went wrong.
No results found
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
Sorry, something went wrong.
No results found
Improve kNN performance by ~10-15%.