Commit 7a05fa8a authored by Shenghou Ma's avatar Shenghou Ma Committed by Minux Ma

doc: fix dead links in FAQ

Fixes #14741.

Change-Id: Idb8de8b0c1059c15e4c3df4a60bbd340d4e74aba
Reviewed-on: https://go-review.googlesource.com/20487Reviewed-by: 's avatarBrad Fitzpatrick <bradfitz@golang.org>
Reviewed-by: 's avatarAndrew Gerrand <adg@golang.org>
parent ddc6b644
...@@ -1806,15 +1806,16 @@ Why does Go perform badly on benchmark X?</h3> ...@@ -1806,15 +1806,16 @@ Why does Go perform badly on benchmark X?</h3>
<p> <p>
One of Go's design goals is to approach the performance of C for comparable One of Go's design goals is to approach the performance of C for comparable
programs, yet on some benchmarks it does quite poorly, including several programs, yet on some benchmarks it does quite poorly, including several
in <a href="/test/bench/shootout/">test/bench/shootout</a>. The slowest depend on libraries in <a href="https://go.googlesource.com/exp/+/master/shootout/">golang.org/x/exp/shootout</a>.
for which versions of comparable performance are not available in Go. The slowest depend on libraries for which versions of comparable performance
For instance, <a href="/test/bench/shootout/pidigits.go">pidigits.go</a> are not available in Go.
For instance, <a href="https://go.googlesource.com/exp/+/master/shootout/pidigits.go">pidigits.go</a>
depends on a multi-precision math package, and the C depends on a multi-precision math package, and the C
versions, unlike Go's, use <a href="http://gmplib.org/">GMP</a> (which is versions, unlike Go's, use <a href="http://gmplib.org/">GMP</a> (which is
written in optimized assembler). written in optimized assembler).
Benchmarks that depend on regular expressions Benchmarks that depend on regular expressions
(<a href="/test/bench/shootout/regex-dna.go">regex-dna.go</a>, for instance) are (<a href="https://go.googlesource.com/exp/+/master/shootout/regex-dna.go">regex-dna.go</a>,
essentially comparing Go's native <a href="/pkg/regexp">regexp package</a> to for instance) are essentially comparing Go's native <a href="/pkg/regexp">regexp package</a> to
mature, highly optimized regular expression libraries like PCRE. mature, highly optimized regular expression libraries like PCRE.
</p> </p>
...@@ -1822,9 +1823,9 @@ mature, highly optimized regular expression libraries like PCRE. ...@@ -1822,9 +1823,9 @@ mature, highly optimized regular expression libraries like PCRE.
Benchmark games are won by extensive tuning and the Go versions of most Benchmark games are won by extensive tuning and the Go versions of most
of the benchmarks need attention. If you measure comparable C of the benchmarks need attention. If you measure comparable C
and Go programs and Go programs
(<a href="/test/bench/shootout/reverse-complement.go">reverse-complement.go</a> is one example), you'll see the two (<a href="https://go.googlesource.com/exp/+/master/shootout/reverse-complement.go">reverse-complement.go</a>
languages are much closer in raw performance than this suite would is one example), you'll see the two languages are much closer in raw performance
indicate. than this suite would indicate.
</p> </p>
<p> <p>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment