4 ms·
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
by pcwalton 10y ago
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.
- outworlder 10y agoDefine "very slow". This could still be fast enough for a lot of users.
- pkroll 10y agoThere's https://github.com/bjwbell/gensimd https://github.com/bjwbell/gensimd for doing SIMD in Go. That'd take away the "clear" part pretty quickly.