rust/library/alloc/benches
Jörn Horstmann e393f56d37 Improve autovectorization of to_lowercase / to_uppercase functions
Refactor the code in the `convert_while_ascii` helper function to make
it more suitable for auto-vectorization and also process the full ascii
prefix of the string. The generic case conversion logic will only be
invoked starting from the first non-ascii character.

The runtime on microbenchmarks with ascii-only inputs improves between
1.5x for short and 4x for long inputs on x86_64 and aarch64.

The new implementation also encapsulates all unsafe inside the
`convert_while_ascii` function.

Fixes #123712
2024-09-23 11:31:29 +02:00
..
btree Reformat using the new identifier sorting from rustfmt 2024-09-22 19:11:29 -04:00
binary_heap.rs Reformat using the new identifier sorting from rustfmt 2024-09-22 19:11:29 -04:00
lib.rs Re-enable android tests/benches in alloc 2024-08-28 10:45:30 -04:00
linked_list.rs
slice.rs Reformat using the new identifier sorting from rustfmt 2024-09-22 19:11:29 -04:00
str.rs Improve autovectorization of to_lowercase / to_uppercase functions 2024-09-23 11:31:29 +02:00
string.rs Reformat using the new identifier sorting from rustfmt 2024-09-22 19:11:29 -04:00
vec_deque_append.rs
vec_deque.rs Reformat using the new identifier sorting from rustfmt 2024-09-22 19:11:29 -04:00
vec.rs Reformat using the new identifier sorting from rustfmt 2024-09-22 19:11:29 -04:00