3 ms·
The author makes valid points and some of the reasons why I tested Go recently are named, but when it was ~15x slower than Perl and 10x slower than Java on some
by lazyjones 14y ago
The author makes valid points and some of the reasons why I tested Go recently are named, but when it was ~15x slower than Perl and 10x slower than Java on some simple regexp matching, I gave up on it.
- dhconnelly 14y agoThere's some history behind this. You can read some of it from Russ Cox, one of the Go authors. https://groups.google.com/forum/?fromgroups#!topic/golang-nuts/6d1maef4jQ8 https://groups.google.com/forum/?fromgroups#!topic/golang-nu... http://swtch.com/~rsc/regexp/regexp1.html http://swtch.com/~rsc/regexp/regexp1.html Edit: missed another good one. There's a lot of discussion about this on the mailing list. https://groups.google.com/forum/?fromgroups#!topic/golang-nuts/GNLTUTFNNl0 https://groups.google.com/forum/?fromgroups#!topic/golang-nu...
- jbarham 14y agoWith other simple regular expressions Perl and Java will be millions of times slower than Go: http://swtch.com/~rsc/regexp/regexp1.html http://swtch.com/~rsc/regexp/regexp1.html