Wanted: A valid usage example for
read_unaligned. The one we currently have creates intermediate unaligned references.
This looks valid to me, unless something subtle is going on: https://github.com/Frommi/miniz_oxide/blob/b8e17c50a5068931257e1daac61c892e44693091/miniz_oxide/src/deflate/core.rs#L319
It can be written completely safely with the same performance starting at Rust 1.34 though
ah, good point! one can use it in slices