AdamNiederer / faster

SIMD for humans
Mozilla Public License 2.0
1.56k stars 51 forks source link

Fixes #25

Closed Osveron closed 6 years ago

Osveron commented 6 years ago

I have fixed undefined behavior in simd_for_each that happened if length of the slice was smaller than simd vector width, and I have also improved test for it. Added more debug_asserts, this would actually point out the bug when running tests. And added some cleanups.

AdamNiederer commented 6 years ago

Nice catch; thanks!