Skip to content

Commit

Permalink
wiki: minor updates
Browse files Browse the repository at this point in the history
Change-Id: I4ff683648ba332c5c92e86f37a0936876de11ba7
Reviewed-on: https://go-review.googlesource.com/c/wiki/+/550778
Reviewed-by: Russ Cox <[email protected]>
Commit-Queue: Russ Cox <[email protected]>
  • Loading branch information
rsc committed Dec 18, 2023
1 parent 3427f74 commit fa44d1b
Show file tree
Hide file tree
Showing 5 changed files with 15 additions and 7 deletions.
1 change: 0 additions & 1 deletion Go-is-slow.md

This file was deleted.

4 changes: 4 additions & 0 deletions LUCI.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
---
title: LUCI
---

LUCI is the CI infrastructure for the Go project. The primary post-submit dashboard can be found at https://ci.chromium.org/p/golang.

# TryBots
Expand Down
4 changes: 4 additions & 0 deletions PGO-Tools.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
---
title: PGO Tools
---

[Profile-guided optimization](https://go.dev/doc/pgo) (PGO) in the Go toolchain uses CPU pprof profiles as the PGO profile format. Though pprof is a widely-used format across many tools, Go's PGO imposes [specific requirements](https://go.dev/doc/pgo#alternative-sources) on the contents of profiles, which many tools across the ecosystem may not be compatible with.

This (non-exhaustive) page lists tools for collecting and working with profiles that are known to be compatible with PGO.
Expand Down
10 changes: 7 additions & 3 deletions RangefuncExperiment.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,15 @@
---
title: Rangefunc Experiment
---

For a future Go release, the Go team is considering adding range-over function iterators.
Go 1.22 contains a preliminary implementation of the change, enabled by setting `GOEXPERIMENT=rangefunc` when building your program. We invite anyone who wants to help us understand the effects of the change to try using `GOEXPERIMENT=rangefunc` and let us know about any problems or successes encountered.

This page answers frequently asked questions about the change.

### How do I try the change?

Using Go 1.22, build your program using `GOEXPERIMENT=rangefunc`, as in
Using Go 1.22, build your program using `GOEXPERIMENT=rangefunc`, as in

GOEXPERIMENT=rangefunc go install my/program
GOEXPERIMENT=rangefunc go build my/program
Expand Down Expand Up @@ -78,7 +82,7 @@ function that provides the respective pairs from the two inputs:
// Zipped holds values from an iteration of a Seq returned by [Zip].
type Zipped[T1, T2 any] struct {
V1 T1
OK1 bool
OK1 bool

V2 T2
OK2 bool
Expand All @@ -90,7 +94,7 @@ function that provides the respective pairs from the two inputs:
p1, stop := iter.Pull(seq1)
defer stop()
p2, stop := iter.Pull(seq2)
defer stop()
defer stop()

for {
var val Zipped[T1, T2]
Expand Down
3 changes: 0 additions & 3 deletions _Footer.md

This file was deleted.

0 comments on commit fa44d1b

Please sign in to comment.