2011-04-28

Go / Golang's RegExp / String Performance


Working with Go I've experienced some perceived slowness when performing RegEx operations on strings. I've looked for benchmarks and found this one. 
In some areas Go kann keep up with Java but when it comes to string
operations ("regex-dna" benchmark), Go is even much slower than Ruby
or Python. Is the status quo going to improve anytime soon? And why is
Go so terribly slow when it comes to string/RegEx operations?
 
And here is the explanation why..., and this one, shows the explanation even graphically.