diff options
| author | Yuri Astrakhan <YuriAstrakhan@gmail.com> | 2023-05-09 01:04:32 -0400 |
|---|---|---|
| committer | Yuri Astrakhan <YuriAstrakhan@gmail.com> | 2024-01-25 15:56:57 -0500 |
| commit | f9259d1b73f01c4c690dfd7429bb3ce25a34874f (patch) | |
| tree | 392fc8d3765cadf9cd6b5426b9b80f8a018aa988 /tests/ui/array-slice-vec/array_const_index-0.rs | |
| parent | 5bd5d214effd494f4bafb29b3a7a2f6c2070ca5c (diff) | |
| download | rust-f9259d1b73f01c4c690dfd7429bb3ce25a34874f.tar.gz rust-f9259d1b73f01c4c690dfd7429bb3ce25a34874f.zip | |
Boost intersperse(_with) performance
I did some benchmark digging into the `intersperse` and `intersperse_with` code as part of the https://internals.rust-lang.org/t/add-iterate-with-separators-iterator-function/18781/13 discussion, and as a result I optimized them a bit, without relying on the peekable iterator.
Diffstat (limited to 'tests/ui/array-slice-vec/array_const_index-0.rs')
0 files changed, 0 insertions, 0 deletions
