This repository has been archived by the owner on Feb 18, 2024. It is now read-only.
Removed ALIGNMENT
invariant from [Mutable]Buffer
#449
Labels
This issue tracks a backward incompatible change whereby buffers are no longer aligned to
ALIGNMENT
(arch-dependent, 128 inx86_64
).This change allows people using
Vec
directly with this crate, but removes some of potential for optimizations when e.g. adding two arrays together withload_aligned
.The reason for this change is that the aligned load use-case is narrower than the use-case of being able to use
Vec
on the crate without an extra memcopy.To keep the old behavior, use crate feature
cache_aligned
.The text was updated successfully, but these errors were encountered: