Skip to content

Commit 4dcd5e5

Browse files
committed
update readme and bump version
1 parent f530c78 commit 4dcd5e5

File tree

2 files changed

+9
-4
lines changed

2 files changed

+9
-4
lines changed

README.md

+8-3
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ insert 1M items one by one | 6.18s | 16.46s | 2.7x
3636
1000 searches of 1% area | 0.53s | 5.03s | 9.6x
3737
1000 searches of 10% area | 2.45s | 16.76s | 6.8x
3838
remove 1000 items one by one | 0.03s | 3.2s | 118x
39-
bulk-insert 1M items | 3.92s | n/a | 4.2x
39+
bulk-insert 1M items | 1.99s | n/a | 8.3x
4040

4141
## Usage
4242

@@ -145,7 +145,7 @@ e.g. first indexing the data on the server and and then importing the resulting
145145

146146
* single insertion: non-recursive R-tree insertion with overlap minimizing split routine from R*-tree (split is very effective in JS, while other R*-tree modifications like reinsertion on overflow and overlap minimizing subtree search are too slow and not worth it)
147147
* single deletion: non-recursive R-tree deletion using depth-first tree traversal with free-at-empty strategy (entries in underflowed nodes are not reinserted, instead underflowed nodes are kept in the tree and deleted only when empty, which is a good compromise of query vs removal performance)
148-
* bulk loading: OMT algorithm (Overlap Minimizing Top-down Bulk Loading) combined with quickselect unordered partial sorting
148+
* bulk loading: OMT algorithm (Overlap Minimizing Top-down Bulk Loading) combined with Floyd–Rivest selection algorithm
149149
* bulk insertion: STLT algorithm (Small-Tree-Large-Tree)
150150
* search: standard non-recursive R-tree search
151151

@@ -169,9 +169,14 @@ npm run cov # report test coverage (with more detailed report in coverage/lcov-
169169

170170
## Changelog
171171

172+
#### 1.3.4 — Aug 31, 2014
173+
174+
- Improved bulk insertion performance for a large number of items (e.g. up to 100% for inserting a million items).
175+
- Fixed performance regression for high node sizes.
176+
172177
#### 1.3.3 — Aug 30, 2014
173178

174-
- Improved bulk loading performance by ~60-70%.
179+
- Improved bulk insertion performance by ~60-70%.
175180
- Improved insertion performance by ~40%.
176181
- Improved search performance by ~30%.
177182

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "rbush",
3-
"version": "1.3.3",
3+
"version": "1.3.4",
44
"description": "High-performance 2D spatial index for rectangles (based on R*-tree with bulk loading and bulk insertion algorithms)",
55
"homepage": "https://github.com/mourner/rbush",
66
"keywords": [

0 commit comments

Comments
 (0)