rust/src/libcollectionstest
Johannes Oertel 241a3e4689 Implement append for b-trees.
The algorithm implemented here is linear in the size of the two b-trees. It
firsts creates a `MergeIter` from the two b-trees and then builds a new b-tree
by pushing key-value pairs from the `MergeIter` into nodes at the right heights.

Three functions for stealing have been added to the implementation of `Handle` as
well as a getter for the height of a `NodeRef`.

The docs have been updated with performance information about `BTreeMap::append` and
the remark about B has been removed now that it is the same for all instances of `BTreeMap`.
2016-04-22 12:30:43 +02:00
..
btree Implement append for b-trees. 2016-04-22 12:30:43 +02:00
bench.rs
binary_heap.rs collections: add append and extend specialization for binary heap 2016-04-16 00:38:59 +03:00
enum_set.rs
fmt.rs
lib.rs Implement append for b-trees. 2016-04-22 12:30:43 +02:00
linked_list.rs Auto merge of #32951 - LukasKalbertodt:collection_contains_rfc1552, r=brson 2016-04-20 04:58:44 -07:00
slice.rs Add test for [u8]'s Ord (and fix the old test for ord) 2016-04-05 14:06:20 +02:00
str.rs Rollup merge of #32869 - bluss:char-boundary-test, r=brson 2016-04-14 14:49:09 -04:00
string.rs std: Change String::truncate to panic less 2016-04-15 10:13:43 -07:00
vec_deque.rs Add contains to VecDeque and LinkedList (+ tests) 2016-04-14 16:07:53 +02:00
vec.rs Specialize Extend to append for {LinkedList, Vec} 2016-04-14 07:12:45 -04:00