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 Make some usize-typed masks definition agnostic to the size of usize 2022-04-15 17:04:59 +02:00
char fix #107590, Fix benchmarks in library/core with black_box 2023-02-03 00:33:36 +08:00
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 Shrink size of array benchmarks 2023-02-14 05:01:24 +00:00
ascii.rs optimize Cstr/EscapeAscii display 2023-06-29 01:55:03 +02:00
fmt.rs fix more benchmark test with black_box 2023-02-21 03:26:40 +00:00
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 Add a slightly-contrived tuple comparison benchmark 2023-02-17 11:46:19 -08:00