> We can try to list all of the stdlib functions that might be used to intentionally append to a slice, but my intuition is that this will not be sufficient. We have to also consider user appendi...
According to my tests 17ns vs 25ns, 5ns comes from improving the loop layout by marking the branch cold. And the remain 3ns are unexplained but are likely the extra merge as you pointed out.
### Go version
go version go1.23.2 linux/amd64
### Output of `go env` in your module/workspace:
```shell
GO111MODULE=''
GOARCH='amd64'
GOBIN=''
GOCACHE='/root/.cache/go-build'
GOENV='/root/....
The compiler knows that control flow never continues past a `panic` call. That avoids the compiler needing to do the merge of control flow at line 19.
I believe that accounts for the difference in...
Found new dashboard test flakes for:
#!watchflakes
default <- pkg == "crypto/sha256" && test == "TestGoldenMarshal/Armv8.0"
<details><summary>2024-10-24 14:34 gotip-windows-arm64 go@76f32...
Found new dashboard test flakes for:
#!watchflakes
default <- pkg == "crypto/sha256" && test == "TestHash/SHA-224/Armv8.0"
<details><summary>2024-10-24 14:34 gotip-windows-arm64 go@76f320...
Found new dashboard test flakes for:
#!watchflakes
default <- pkg == "cmd/internal/testdir" && test == "Test/codegen/shift.go"
<details><summary>2024-10-24 14:34 gotip-linux-ppc64_power10...
Found new dashboard test flakes for:
#!watchflakes
default <- pkg == "cmd/cgo/internal/testerrors" && test == "TestReportsTypeErrors"
<details><summary>2024-10-24 14:34 gotip-solaris-amd6...
Found new dashboard test flakes for:
#!watchflakes
default <- pkg == "golang.org/x/tools/internal/modindex" && test == "TestIncremental"
<details><summary>2024-10-23 20:06 x_tools-gotip-l...
Found new dashboard test flakes for:
#!watchflakes
default <- pkg == "golang.org/x/tools/cmd/stringer" && test ~ `TestEndToEnd`
<details><summary>2024-10-23 20:06 x_tools-gotip-solaris-am...
**Related Issues and Documentation**
- [cmd/link: don't pass --build-id if C linker doesn't support it](https://go-review.googlesource.com/c/go/+/621639#related-content) <!-- score=0.91325 -->
-...
This stack `rOr9mA` was [reported by telemetry](https://storage.googleapis.com/prod-telemetry-merged/2024-10-21.json):
- `gopls/bug`
- [`golang.org/x/tools/gopls/internal/util/bug.report:+35`](htt...
This stack `h1dggQ` was [reported by telemetry](https://storage.googleapis.com/prod-telemetry-merged/2024-10-19.json):
- `gopls/bug`
- [`golang.org/x/tools/gopls/internal/util/bug.report:+35`](htt...
> It shouldn't call `copy`. It shouldn't go faster if I add a redundant `panic`.
It is easy to assume that code that is never ran does not affect performance, code exists create side effects whi...
Found new dashboard test flakes for:
#!watchflakes
default <- pkg == "crypto/sha256" && test == "TestHash/SHA-224/Armv8.0"
<details><summary>2024-10-24 12:32 gotip-windows-arm64 go@77c53c...
Found new dashboard test flakes for:
#!watchflakes
default <- pkg == "cmd/cgo/internal/testerrors" && test == "TestReportsTypeErrors"
<details><summary>2024-10-24 12:32 gotip-solaris-amd6...
Found new dashboard test flakes for:
#!watchflakes
default <- pkg == "cmd/cgo/internal/testfortran" && test == "TestFortran"
<details><summary>2024-10-24 12:32 gotip-solaris-amd64 go@4646...
Found new dashboard test flakes for:
#!watchflakes
default <- pkg == "golang.org/x/tools/internal/modindex" && test == "TestIncrementalNope"
<details><summary>2024-10-23 20:06 x_tools-got...
Found new dashboard test flakes for:
#!watchflakes
default <- pkg == "golang.org/x/tools/internal/modindex" && test == "TestIncremental"
<details><summary>2024-10-23 20:06 x_tools-gotip-n...