]> git.lizzy.rs Git - rust.git/commit
deque: Implement Deque::with_capacity. Lower initial capacity to 8.
authorblake2-ppc <blake2-ppc>
Sat, 6 Jul 2013 03:42:45 +0000 (05:42 +0200)
committerblake2-ppc <blake2-ppc>
Sat, 6 Jul 2013 05:26:05 +0000 (07:26 +0200)
commit0ff5c17cbbef0aedfa2eb1142cbf7a87abfd1d05
treef02f83d13c4308e1f4a1f0468eb07751dfe33a4d
parent8a3267672c43e7cc116e588dd21998d14fc21ba4
deque: Implement Deque::with_capacity. Lower initial capacity to 8.

We need a reasonably small initial capacity to make Deques faster
for the common case.
src/libextra/deque.rs