| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2022-11-24 | Extract the logic for `TrustedLen` to a named method that can be called directly | Scott McMurray | -32/+2 | |
| 2022-08-21 | Replace most uses of `pointer::offset` with `add` and `sub` | Maybe Waffle | -1/+1 | |
| 2022-04-28 | Add VecDeque::extend from vec::IntoIter and slice::Iter specializations | Paolo Barbolini | -1/+1 | |
| 2021-06-22 | Add comments around code where ordering is important due for panic-safety | The8472 | -0/+2 | |
| Iterators contain arbitrary code which may panic. Unsafe code has to be careful to do its state updates at the right point between calls that may panic. | ||||
| 2021-05-27 | Revert "Auto merge of #83770 - the8472:tra-extend, r=Mark-Simulacrum" | The8472 | -59/+25 | |
| Due to a performance regression that didn't show up in the original perf run this reverts commit 9111b8ae9793f18179a1336417618fc07a9cac85, reversing changes made to 9a700d2947f2d7f97a2c0dfca3117a8dcc255bdd. | ||||
| 2021-05-26 | Auto merge of #83770 - the8472:tra-extend, r=Mark-Simulacrum | bors | -25/+59 | |
| Add `TrustedRandomAccess` specialization for `Vec::extend()` This should do roughly the same as the `TrustedLen` specialization but result in less IR by using `__iterator_get_unchecked` instead of `Iterator::for_each` Conflicting specializations are manually prioritized by grouping them under yet another helper trait. | ||||
| 2021-04-15 | Merge same condition branch in vec spec_extend | Ivan Tham | -4/+2 | |
| 2021-04-08 | add TrustedRandomAccess specialization to vec::extend | The8472 | -25/+59 | |
| This should do roughly the same as the TrustedLen specialization but result in less IR by using __iterator_get_unchecked instead of iterator.for_each. | ||||
| 2021-03-31 | panic early when TrustedLen indicates a length > usize::MAX | The8472 | -1/+6 | |
| 2020-12-29 | style: applying Rust style | C | -13/+13 | |
| 2020-12-29 | refactor: moved SpecExtend into spec_extend.rs | C | -0/+82 | |
