arduano / simdeez

easy simd
MIT License
332 stars 25 forks source link

Abstract over single vs. double precision #42

Open Ralith opened 4 years ago

Ralith commented 4 years ago

Helps avoid massive code duplication when an algorithm might be required in both forms, as e.g. in simdnoise. This would probably require moving all the duplicated interfaces into a common trait which is implemented by both Vf32 and Vf64.