Files
rust/library/alloc
Jonathan Brouwer cfa9555be2 Rollup merge of #160480 - fereidani:to_ascii_upperlowercase, r=joshtriplett
Single-pass ASCII lower/upper case conversion

Current algorithm is cloning whole string/vector once, then rereads and rewrites it in-place once again which is sub-optimal and waste of CPU cycles and cache.
This one creates it in a single-pass while copying the data from the original vector.
In my benchmarks this one is about 1.2x-2x to 10x(KBs long strings) faster.
2026-08-04 18:35:30 +02:00
..