On Thu, Sep 1, 2016 at 1:34 PM, DrGo <salah.mah...@gmail.com> wrote: > What is the reason for Go particularly poor performance in regexdna as shown > here? > https://benchmarksgame.alioth.debian.org/u64q/performance.php?test=regexdna
In several past discussions of this topic the consensus has been that most languages are using the PCRE library written in C while Go is using the regexp package written in Go. The PCRE regexp library is efficient but has bad performance characteristics for certain regexps. The Go regexp library is less optimized but has predictable performance characteristics with no significant dropoff. See https://swtch.com/~rsc/regexp/regexp1.html for some background. Ian -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.