encoding_rs icon indicating copy to clipboard operation
encoding_rs copied to clipboard

Migrate ASCII acceleration code to align_to/align_to_mut

Open hsivonen opened this issue 3 years ago • 0 comments

Currently, the ASCII acceleration code manually reinterprets slice memory as wider SIMD or ALU types. This code predates the align_to and align_to_mut methods on slices.

This code should be rewritten to use these methods with the middle slice being a SIMD type or a wider ALU type in the aligned case or a fixed-length array that can be unalignedly read as a SIMD type for unaligned SIMD.

hsivonen avatar Aug 22 '22 12:08 hsivonen