Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Without SIMD (or autovectorization) this will be very slow. This is really the canonical use case for SIMD acceleration, which Go doesn't support.

This is very clear code though and great for learning.



There's https://github.com/bjwbell/gensimd for doing SIMD in Go. That'd take away the "clear" part pretty quickly.


Define "very slow". This could still be fast enough for a lot of users.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: