| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2020-09-03 | move unsafety into method, not relevant to caller | The8472 | -2/+2 | |
| 2020-09-03 | replace unsafe ptr::write with deref-write, benchmarks show no difference | The8472 | -10/+4 | |
| 2020-09-03 | pacify tidy | The8472 | -77/+90 | |
| 2020-09-03 | replace drop flag with ManuallyDrop | The8472 | -6/+4 | |
| 2020-09-03 | mark as_inner as unsafe and update comments | The8472 | -50/+76 | |
| 2020-09-03 | avoid exposing that binary heap's IntoIter is backed by vec::IntoIter, use a ↵ | The8472 | -9/+26 | |
| private trait instead | ||||
| 2020-09-03 | fix: bench didn't black_box its results | The8472 | -3/+1 | |
| 2020-09-03 | fix build issue due to stabilized feature | The8472 | -0/+1 | |
| 2020-09-03 | impl TrustedRandomAccess for vec::IntoIter | The8472 | -3/+28 | |
| 2020-09-03 | bench larger allocations | The8472 | -6/+6 | |
| 2020-09-03 | include in-place .zip() in test | The8472 | -1/+8 | |
| 2020-09-03 | remove unecessary feature flag | The8472 | -1/+0 | |
| # Conflicts: # library/alloc/src/lib.rs | ||||
| 2020-09-03 | make tidy happy | The8472 | -4/+8 | |
| 2020-09-03 | support in-place iteration for most adapters | The8472 | -0/+136 | |
| `Take` is not included since users probably call it with small constants and it doesn't make sense to hold onto huge allocations in that case | ||||
| 2020-09-03 | move free-standing method into trait impl | The8472 | -79/+75 | |
| 2020-09-03 | add in-place iteration for Zip | The8472 | -1/+24 | |
| this picks the left hand side as source since it might be more natural to consume that as IntoIter source | ||||
| 2020-09-03 | bench in-place zip | The8472 | -0/+37 | |
| 2020-09-03 | additional specializations tests | The8472 | -0/+22 | |
| 2020-09-03 | fix some in-place-collect edge-cases | The8472 | -0/+13 | |
| - it's an allocation optimization, so don't attempt to do it on ZSTs - drop the tail of partially exhausted iters | ||||
| 2020-09-03 | remove redundant code | The8472 | -7/+1 | |
| 2020-09-03 | improve comments | The8472 | -7/+10 | |
| 2020-09-03 | specialize creating a Vec from a slice iterator where T: Copy | The8472 | -0/+14 | |
| this was already implemented for Extend but not for FromIterator | ||||
| 2020-09-03 | restore SpecFrom<T, TrustedLen<Item=T>> specialization by nesting | The8472 | -1/+29 | |
| specializations | ||||
| 2020-09-03 | use From specializations on extend if extended Vec is empty | The8472 | -3/+25 | |
| this enables in-place iteration and allocation reuse in additional cases | ||||
| 2020-09-03 | exercise more of the in-place pipeline in the bench | The8472 | -1/+8 | |
| 2020-09-03 | bench in-place collect of droppables | The8472 | -0/+15 | |
| 2020-09-03 | cyclic in-place reuse bench | The8472 | -0/+20 | |
| 2020-09-03 | return the things under test so they get black_box()'ed | The8472 | -1/+10 | |
| 2020-09-03 | add benches from bluss' gists | The8472 | -0/+104 | |
| 2020-09-03 | use memmove instead of generic in-place iteration for IntoIter source | The8472 | -2/+10 | |
| this is the original SpecExtend<_, IntoIter> logic except generalizing the fast-path to include a memmove | ||||
| 2020-09-03 | restore Vec::extend specialization for vec::IntoIter sources that | The8472 | -0/+9 | |
| was lost during refactoring | ||||
| 2020-09-03 | hide binary_heap::IntoIter internals behind impl Trait | The8472 | -1/+2 | |
| 2020-09-03 | remove example that relied on non-public trait | The8472 | -5/+0 | |
| 2020-09-03 | recover vectorization | The8472 | -23/+54 | |
| switch to try_fold and segregate the drop handling to keep collect::<Vec<u8>>() and similar optimizer-friendly It comes at the cost of less accurate debug_asserts and code complexity | ||||
| 2020-09-03 | update benches | The8472 | -3/+4 | |
| 2020-09-03 | simplify pointer arithmetic | The8472 | -11/+15 | |
| 2020-09-03 | fix doc link | The8472 | -1/+1 | |
| 2020-09-03 | use add instead of offset | The8472 | -1/+1 | |
| 2020-09-03 | implement drop handling | The8472 | -7/+26 | |
| 2020-09-03 | assert that SourceIter requirements have not been violated by the pipeline | The8472 | -0/+2 | |
| 2020-09-03 | mark SourceIter as unsafe, document invariants | The8472 | -18/+52 | |
| 2020-09-03 | in-place collect for Vec. Box<[]> and BinaryHeap IntoIter and some adapters | The8472 | -43/+280 | |
| 2020-09-03 | bench | The8472 | -1/+40 | |
| 2020-09-03 | unrelated typo fix | The8472 | -1/+1 | |
| 2020-09-03 | Auto merge of #76283 - RalfJung:miri, r=RalfJung | bors | -8/+8 | |
| update miri Fixes https://github.com/rust-lang/rust/issues/76190 Cc @rust-lang/miri r? @ghost | ||||
| 2020-09-03 | update miri | Ralf Jung | -8/+8 | |
| 2020-09-03 | Auto merge of #76235 - jyn514:std-intra-links, r=poliorcetics | bors | -79/+34 | |
| Convert many files to intra-doc links Helps with https://github.com/rust-lang/rust/issues/75080 r? @poliorcetics I recommend reviewing one commit at a time, but the diff is small enough you can do it all at once if you like :) | ||||
| 2020-09-03 | Auto merge of #75971 - Amjad50:libstd-deny-unsafe_op_in_unsafe_fn, ↵ | bors | -8/+60 | |
| r=Mark-Simulacrum Applied `#![deny(unsafe_op_in_unsafe_fn)]` in library/std/src/wasi partial fix for #73904 There are still more that was not applied in [mod.rs]( https://github.com/rust-lang/rust/blob/38fab2ea92a48980219989817201bf2094ae826a/library/std/src/sys/wasi/mod.rs) and that is due to its using files from `../unsupported` like: ``` #[path = "../unsupported/cmath.rs"] pub mod cmath; ``` | ||||
| 2020-09-03 | Applied `#![deny(unsafe_op_in_unsafe_fn)]` in library/std/src/wasi | Amjad Alsharafi | -8/+60 | |
| All refactoring needed was only in `alloc.rs`, changed part of the code in `alloc` method to satisfy the SAFETY statement | ||||
| 2020-09-03 | Auto merge of #76265 - Dylan-DPC:rollup-j3i509l, r=Dylan-DPC | bors | -300/+361 | |
| Rollup of 12 pull requests Successful merges: - #75150 (Add a note for Ipv4Addr::to_ipv6_compatible) - #76120 (Add `[T; N]::as_[mut_]slice`) - #76142 (Make all methods of `std::net::Ipv4Addr` const) - #76164 (Link to slice pattern in array docs) - #76167 (Replace MinGW library hack with heuristic controlling link mode) - #76204 (Rename and expose LoopState as ControlFlow) - #76238 (Move to intra-doc links for library/core/src/iter/traits/iterator.rs) - #76242 (Read: adjust a FIXME reference) - #76243 (Fix typos in vec try_reserve(_exact) docs) - #76245 (inliner: Avoid query cycles when optimizing generators) - #76255 (Update books) - #76261 (Use intra-doc links in `core::marker`) Failed merges: r? @ghost | ||||
