Closed FreezyLemon closed 7 months ago
All modified and coverable lines are covered by tests :white_check_mark:
Project coverage is 88.69%. Comparing base (
3c3a26f
) to head (66e15b9
). Report is 13 commits behind head on master.
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
Closes #3370.
ABox<[T]>
generally works the same way asAlignedBoxedSlice<T>
, but uses a different alignment by default:AlignedBoxedSlice: 8 on wasm, 64 everywhere else ABox: Generally two cachelines, 64 bytes for unknown archs (exact rules)
I am pretty sure the wasm allocation bug mentioned in the code comment has been fixed, so using a higher alignment should be fine on the wasm32 arch.
It's possible to configure aligned_vec to reproduce the old behaviour exactly, but I think it's probably better to stick to the crate defaults.