- Improve indexing performance by 5–8%. 29 - Add a fast path for the case of the number of items being less than `nodeSize`. 28
3.2.1
Improve kNN performance by ~10-15%.
3.2.0
index.add(x0, y0, x1, y1)` now returns the item's index.
3.1.1
Slightly faster kNN search.
3.1.0
Add fast kNN search (`index.neighbors(x, y[, maxResults, maxDistance, filterFn])`).
3.0.0
- 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.