]> Cypherpunks repositories - gostls13.git/commit
cmd/internal/ld: change Cpos to not flush the output buffer
authorMichael Hudson-Doyle <michael.hudson@canonical.com>
Sun, 10 May 2015 23:24:10 +0000 (11:24 +1200)
committerIan Lance Taylor <iant@golang.org>
Mon, 11 May 2015 17:08:36 +0000 (17:08 +0000)
commit3475ec7f36b68126310878e611c8594514b98438
treefe8fa672971f6e652fea2aa2aa3f29c7a7ec2d8a
parent516f0d1c906b841d33ecd185cda0257dfa7e2210
cmd/internal/ld: change Cpos to not flush the output buffer

DWARF generation appears to assume Cpos is cheap and this makes linking godoc
about 8% faster and linking the standard library into a single shared library
about 22% faster on my machine.

Updates #10571

Change-Id: I3f81efd0174e356716e7971c4f59810b72378177
Reviewed-on: https://go-review.googlesource.com/9913
Reviewed-by: Ian Lance Taylor <iant@golang.org>
Run-TryBot: Ian Lance Taylor <iant@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
src/cmd/internal/ld/lib.go