Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(215)

Issue 314413004: A simple B+Tree implementation. (Closed)

Created:
6 years, 6 months ago by scheglov
Modified:
6 years, 6 months ago
CC:
reviews_dartlang.org, Lasse Reichstein Nielsen
Visibility:
Public.

Description

Patch Set 1 #

Patch Set 2 : TODOs #

Patch Set 3 : Better redistribution, random stress test, renames. #

Total comments: 15

Patch Set 4 : tweaks #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1167 lines, -12 lines) Patch
A pkg/analysis_server/lib/src/index/btree.dart View 1 2 3 1 chunk +467 lines, -0 lines 0 comments Download
A pkg/analysis_server/test/index/btree_test.dart View 1 2 3 1 chunk +676 lines, -0 lines 0 comments Download
M pkg/analysis_server/test/reflective_tests.dart View 1 chunk +24 lines, -12 lines 0 comments Download

Messages

Total messages: 7 (0 generated)
scheglov
6 years, 6 months ago (2014-06-07 01:40:53 UTC) #1
kasperl
Have you considered letting this implement the Map interface? Also, this looks like it might ...
6 years, 6 months ago (2014-06-07 11:34:15 UTC) #2
Brian Wilkerson
LGTM https://codereview.chromium.org/314413004/diff/40001/pkg/analysis_server/lib/src/index/btree.dart File pkg/analysis_server/lib/src/index/btree.dart (right): https://codereview.chromium.org/314413004/diff/40001/pkg/analysis_server/lib/src/index/btree.dart#newcode9 pkg/analysis_server/lib/src/index/btree.dart:9: * A simple B+Tree implementation. "B+Tree" --> "B-Tree" ...
6 years, 6 months ago (2014-06-07 16:34:02 UTC) #3
scheglov
https://codereview.chromium.org/314413004/diff/40001/pkg/analysis_server/lib/src/index/btree.dart File pkg/analysis_server/lib/src/index/btree.dart (right): https://codereview.chromium.org/314413004/diff/40001/pkg/analysis_server/lib/src/index/btree.dart#newcode9 pkg/analysis_server/lib/src/index/btree.dart:9: * A simple B+Tree implementation. On 2014/06/07 16:34:02, Brian ...
6 years, 6 months ago (2014-06-07 21:26:23 UTC) #4
scheglov
Committed patchset #4 manually as r37113 (presubmit successful).
6 years, 6 months ago (2014-06-07 21:36:35 UTC) #5
scheglov
On 2014/06/07 11:34:15, kasperl wrote: > Have you considered letting this implement the Map interface? ...
6 years, 6 months ago (2014-06-07 21:38:50 UTC) #6
Brian Wilkerson
6 years, 6 months ago (2014-06-07 23:30:38 UTC) #7
Message was sent while issue was closed.
https://codereview.chromium.org/314413004/diff/40001/pkg/analysis_server/lib/...
File pkg/analysis_server/lib/src/index/btree.dart (right):

https://codereview.chromium.org/314413004/diff/40001/pkg/analysis_server/lib/...
pkg/analysis_server/lib/src/index/btree.dart:9: * A simple B+Tree
implementation.
> It is actually not a mistake.
> It is a B+Tree flavor of B-Tree.

Cool. I learned something new today. Interestingly enough I could only find one
reference in the first 5-6 pages of search results, so I might not be the only
one who didn't know about it. Perhaps a reference to the only article I could
find: http://en.wikipedia.org/wiki/B%2B_tree would be useful for others. (By the
way, they refer to it as a "B+ tree", even though the article on B-Tree's uses
"B-Tree". I don't know how standard that is, though.)

I would also suggest re-naming it "BPlusTree" so that it isn't confused with a
more traditional B-Tree implementation.

Powered by Google App Engine
This is Rietveld 408576698