3 ms·
This is neat. Why do you think this is not already part of the standard library?
by pphysch 2y ago
This is neat. Why do you think this is not already part of the standard library?
- pehringer 2y agoI think the Go std lib is focused on portability over raw performance
- pjmlp 2y agoAnd ironically loses out to Java and .NET in raw performance, because language author's bias. In this case specifically, SIMD is available, via compiler supported auto-vectorization, and intrisics, no need to go down into Assembly.
- twoodfin 2y agoI think the more interesting architecture / priorities question is why the Go compiler can't yet(?) auto-vectorize?