D
D
DarkMatter2016-03-12 16:42:07
go
DarkMatter, 2016-03-12 16:42:07

What is the speed of text processing in Go?

Maybe someone came across links to tests, benchmarks, etc.
I need to analyze, compare a lot of text, but I'm not going to learn Perl for this, so it became interesting, did Go surpass Perl in speed, or not?

Answer the question

In order to leave comments, you need to log in

3 answer(s)
A
Alexander Pavlyuk, 2016-03-12
@darkmatter

The standard regular expression module, which is written in go, is much inferior in performance to pearl barley.
But you can connect PCRE to Go https://godoc.org/github.com/glenn-brown/golang-pk... and everything will be comparable in speed to pearl.
If we are not talking about regular expressions, but about analyzers written by hand, then Go on this task will definitely surpass perl.

D
Dimonchik, 2016-03-12
@dimonchik2013

look at this:
www.powergrep.com
can be run from the command line
not for all tasks, and not everything can be automated, but very fast

B
beduin01, 2016-03-12
@beduin01

At one time, the fastest XML parser was written in D. It doesn't seem to have been bypassed, so I think that D will parse faster. Moreover, there are a lot of chips for this in the language, which you have to write by hand in Go.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question