rust/library/core/benches
bors fa404339c9 Auto merge of #85528 - the8472:iter-markers, r=dtolnay
Implement iterator specialization traits on more adapters

This adds

* `TrustedLen` to `Skip` and `StepBy`
* `TrustedRandomAccess` to `Skip`
* `InPlaceIterable` and `SourceIter` to  `Copied` and `Cloned`

The first two might improve performance in the compiler itself since `skip` is used in several places. Constellations that would exercise the last point are probably rare since it would require an owning iterator that has references as Items somewhere in its iterator pipeline.

Improvements for `Skip`:

```
# old
test iter::bench_skip_trusted_random_access                     ... bench:       8,335 ns/iter (+/- 90)

# new
test iter::bench_skip_trusted_random_access                     ... bench:       2,753 ns/iter (+/- 27)
```
2024-01-21 11:17:46 +00:00
..
ascii
char
hash
num Reduced amount of int_pow benches 2024-01-11 14:00:01 -05:00
str benchmarks for Chars::advance_by 2023-11-27 22:06:35 +01:00
any.rs
array.rs
ascii.rs optimize Cstr/EscapeAscii display 2023-06-29 01:55:03 +02:00
fmt.rs
iter.rs bench trustedrandomaccess specialization in zip 2024-01-10 18:59:44 +01:00
lib.rs benchmarks for Chars::advance_by 2023-11-27 22:06:35 +01:00
ops.rs
pattern.rs
slice.rs Adjust library tests for unused_tuple_struct_fields -> dead_code 2024-01-02 15:34:37 -05:00
str.rs benchmarks for Chars::advance_by 2023-11-27 22:06:35 +01:00
tuple.rs