]> git.lizzy.rs Git - rust.git/commitdiff
auto merge of #5196 : thestinger/rust/ord, r=catamorphism
authorbors <bors@rust-lang.org>
Sat, 2 Mar 2013 13:15:39 +0000 (05:15 -0800)
committerbors <bors@rust-lang.org>
Sat, 2 Mar 2013 13:15:39 +0000 (05:15 -0800)
This allows `TreeMap`/`TreeSet` to fully express their requirements and reduces the comparisons from ~1.5 per level to 1 which really helps for string keys.

I also added `ReverseIter` to the prelude exports because I forgot when I originally added it.

1  2 
src/libcore/prelude.rs
src/libcore/str.rs
src/libcore/vec.rs

Simple merge
Simple merge
Simple merge