Details
-
Improvement
-
Status: Closed
-
Major
-
Resolution: Fixed
-
3.2.1
-
None
-
None
Description
"TreeList.addAll(Collection coll)" has a higher complexity than
necessary when "coll" is a "TreeList" object (because "addAll" just
adds one element at a time). This can be done in just O(N) as
described for example here:
http://stackoverflow.com/questions/4458489/merging-2-diferent-avl-trees
Are there any plans to improve this?
Attachments
Attachments
Issue Links
- depends upon
-
COLLECTIONS-447 TreeListIterator can return incorrect results after remove() is called
- Closed