Skip to content

Fix use read_unaligned instead of dereferencing ptrs

Joonas Koivunen requested to merge koivunej/seahash:fix_unaligned_reads into master

before this change, running tests with miri crashed with an alignment error as pointers were read as for example u64 pointers. this doesn't change the bench results at least for a amd64 amd zen2 cpu.

Fixes CC: #9 (closed), might help #7, but I have no arm cpu available.

Edited by Joonas Koivunen

Merge request reports