5 ms·
I tried to come up with the most efficient implementation of this rather simple function that I could think of with pure Go without going down to SIMD Assembly:
by romshark 3y ago
I tried to come up with the most efficient implementation of this rather simple function that I could think of with pure Go without going down to SIMD Assembly: https://go.dev/play/p/zHFxwvWOoeT https://go.dev/play/p/zHFxwvWOoeT
-32.31% geomean across the different tests looks rather great.
Any ideas how to make it even faster?