rust/src
bors 977c44ade0 Auto merge of #21401 - kballard:optimize-shrink-to-fit, r=nikomatsakis
Don't reallocate when capacity is already equal to length

`Vec::shrink_to_fit()` may be called on vectors that are already the
correct length. Calling out to `reallocate()` in this case is a bad idea
because there is no guarantee that `reallocate()` won't allocate a new
buffer anyway, and based on performance seen in external benchmarks, it
seems likely that it is in fact reallocating a new buffer.

Before:

    test string::tests::bench_exact_size_shrink_to_fit         ... bench:        45 ns/iter (+/- 2)

After:

    test string::tests::bench_exact_size_shrink_to_fit         ... bench:        26 ns/iter (+/- 1)
2015-01-26 13:01:00 +00:00
..
compiler-rt@58ab642c30 Updated compiler-rt 2015-01-09 18:38:30 +02:00
compiletest Rollup merge of #21550 - FlaPer87:fix-compiletest, r=huonw 2015-01-24 10:42:41 +01:00
doc Remove every mention of "onceness". 2015-01-26 04:15:09 +02:00
driver Add allow(unstable) to driver.rs 2015-01-17 16:38:04 -08:00
etc Use a regex to perform license check 2015-01-22 23:04:14 -08:00
grammar Auto merge of #21452 - bleibig:bison-grammar, r=nikomatsakis 2015-01-24 22:14:14 +00:00
jemalloc@b001609960
liballoc Beef up docs for Box<T> 2015-01-22 17:30:23 -05:00
libarena Set allow(unstable) in crates that use unstable features 2015-01-17 16:38:04 -08:00
libbacktrace
libcollections Auto merge of #21401 - kballard:optimize-shrink-to-fit, r=nikomatsakis 2015-01-26 13:01:00 +00:00
libcore Add a missing fmt::Debug impl lint 2015-01-25 11:22:41 -08:00
libcoretest Auto merge of #21537 - tbu-:pr_coretest_fmt, r=alexcrichton 2015-01-24 07:45:55 +00:00
libflate Set allow(unstable) in crates that use unstable features 2015-01-17 16:38:04 -08:00
libfmt_macros Set allow(unstable) in crates that use unstable features 2015-01-17 16:38:04 -08:00
libgetopts rollup merge of #21457: alexcrichton/issue-21436 2015-01-21 09:20:35 -08:00
libgraphviz std: Rename Show/String to Debug/Display 2015-01-20 22:36:13 -08:00
liblibc Rollup merge of #21500 - richo:power-fixups, r=alexcrichton 2015-01-22 18:10:00 -05:00
liblog regex: Remove in-tree version 2015-01-23 21:04:10 -08:00
librand Fallout from stabilization. 2015-01-21 08:11:07 -08:00
librbml rollup merge of #21258: aturon/stab-3-index 2015-01-21 11:53:49 -08:00
librustc Auto merge of #21610 - sfackler:debug-lint, r=alexcrichton 2015-01-26 10:26:54 +00:00
librustc_back Add the span of the operator itself to ast::BinOp. 2015-01-25 00:33:50 +11:00
librustc_bitflags std: Move the bitflags! macro to a gated crate 2015-01-17 10:51:07 -05:00
librustc_borrowck Remove "unboxed" attribute in code referring to new closures. 2015-01-26 04:15:09 +02:00
librustc_driver rollup merge of #20179: eddyb/blind-items 2015-01-21 11:56:00 -08:00
librustc_llvm Better inline assembly errors 2015-01-22 19:43:39 +01:00
librustc_privacy Remove "unboxed" attribute in code referring to new closures. 2015-01-26 04:15:09 +02:00
librustc_resolve librustc: remove unused DefUpvar field. 2015-01-26 04:15:09 +02:00
librustc_trans Adjust most comments and messages to not use "unboxed". 2015-01-26 04:15:09 +02:00
librustc_typeck Adjust most comments and messages to not use "unboxed". 2015-01-26 04:15:09 +02:00
librustdoc Remove "unboxed" attribute in code referring to new closures. 2015-01-26 04:15:09 +02:00
libserialize serialize: Remove base64 support 2015-01-23 21:03:54 -08:00
libstd Auto merge of #20613 - dgriffen:master, r=alexcrichton 2015-01-25 10:59:28 +00:00
libsyntax Auto merge of #21605 - huonw:omg-muscle-memory, r=eddyb 2015-01-26 07:49:01 +00:00
libterm rollup merge of #21457: alexcrichton/issue-21436 2015-01-21 09:20:35 -08:00
libtest regex: Remove in-tree version 2015-01-23 21:04:10 -08:00
libunicode Fallout from stabilization. 2015-01-21 08:11:07 -08:00
llvm@b820135911 Redo Segmented stack support for DragonFly 2015-01-18 08:25:52 +01:00
rt rt: Remove libtime wrappers 2015-01-19 23:05:10 +09:00
rust-installer@e577c97b49 Fix revert of rust-installer 2015-01-09 10:19:30 -08:00
rustbook regex: Remove in-tree version 2015-01-23 21:04:10 -08:00
rustllvm Better inline assembly errors 2015-01-22 19:43:39 +01:00
test Auto merge of #21610 - sfackler:debug-lint, r=alexcrichton 2015-01-26 10:26:54 +00:00
snapshots.txt Register snapshot for 9006c3c 2015-01-20 22:15:44 +01:00