rust/src/libcollections
bors 32d962d16f Auto merge of #31420 - bluss:deque-equality, r=Gankro
collections: Use slice parts in PartialEq for VecDeque

This improves == for VecDeque by using the slice representation.

This will also improve further if codegen for slice comparison improves.

Benchmark run of 1000 u64 elements, comparing for equality (all equal).
Cpu time to compare the vecdeques is reduced to less than 50% of what it
was before.

```
test test_eq_u64       ... bench:  1,885 ns/iter (+/- 163) = 4244 MB/s
test test_eq_new_u64   ... bench:    802 ns/iter (+/- 100) = 9975 MB/s
```
2016-02-10 10:04:46 +00:00
..
btree Minor spelling fixes 2016-02-09 11:52:39 -05:00
binary_heap.rs BinaryHeap: Use full sift down in .pop() 2015-12-23 04:07:36 +01:00
borrow.rs std: Stabilize APIs for the 1.7 release 2016-01-16 11:03:10 -08:00
enum_set.rs std: Stabilize APIs for the 1.7 release 2016-01-16 11:03:10 -08:00
fmt.rs Rollup merge of #30981 - boblehest:tmp, r=alexcrichton 2016-01-19 04:08:58 +05:30
lib.rs Remove old #[allow(trivial_casts)] annotations 2016-02-08 09:35:09 -08:00
linked_list.rs Correct linked_list::IntoIter doc comment 2016-02-02 16:45:35 -05:00
macros.rs Add note about clone in docs for vec![] 2015-09-07 03:57:20 +05:30
range.rs update tracking issue for collections_range 2016-01-13 13:50:41 -05:00
slice.rs Fix warnings during tests 2016-01-26 09:29:28 -08:00
str.rs Minor spelling fixes 2016-02-09 11:52:39 -05:00
string.rs Rollup merge of #31515 - steveklabnik:doc_drain, r=alexcrichton 2016-02-09 16:58:59 -05:00
vec.rs Add Cow::from for Vec and slices 2016-02-03 20:45:18 +01:00
vec_deque.rs collections: Use slices parts in PartialEq for VecDeque 2016-01-27 00:35:03 +01:00