4 ms·
Speaking of gcflags, did you try Go with gcflags=-B to see how it performs without bounds checking. I know this isn't 'the right way' given that Go is supposed
by gillianseed 13y ago
Speaking of gcflags, did you try Go with gcflags=-B to see how it performs without bounds checking.
I know this isn't 'the right way' given that Go is supposed to be a safe language but it would be interesting to see how much difference it would make.
- kid0m4n 13y agoHave not tried that... will give it a shot But I guess we are then going away from idiomatic Go
- gillianseed 13y agoI guess, it's an unsupported compiler option (as in it can disappear any new release). I looked at it more as an option for when you want to cram out possible extra performance of release builds.