Chromium Code Reviews
DescriptionUpdate SplayTreeMap implementation.
Make keys and values getters lazy.
Update iteration to not serialize the keys first.
Iteration attempts to traverse the tree without modifying it, but
recovers if someone modifies the tree structure while iterating,
which a simple lookup will do.
It throws, as other maps, if keys are added or removed during iteration.
Add concurrent modification catching for iteration and putIfAbsent.
Make _splay actually private.
BUG=http://dartbug.com/4421
Committed: https://code.google.com/p/dart/source/detail?r=18574
Patch Set 1 #
Total comments: 9
Patch Set 2 : Address comments. #Messages
Total messages: 4 (0 generated)
|