]> Cypherpunks repositories - gostls13.git/commit
internal/runtime/maps: clarify probeSeq doc comment
authorNick Ripley <nick.ripley@datadoghq.com>
Thu, 4 Dec 2025 15:01:21 +0000 (10:01 -0500)
committerNick Ripley <nick.ripley@datadoghq.com>
Fri, 5 Dec 2025 15:01:07 +0000 (07:01 -0800)
commit93b49f773d1a4b706f5352dffb912c259c15dc4f
tree0413d8f29d9192e0cd5c46361e77b6af5df81e30
parent91267f0a709191d8f1e3f4fa805c9d88856f9957
internal/runtime/maps: clarify probeSeq doc comment

The probeSeq doc comment describes the probe sequence as triangular and
gives the formula for terms in the sequence. This formula isn't actually
used in the code, though. List the first few terms of the sequence
explicitly so the connection between the description and the code is
more clear.

Change-Id: I6a6a69648bc94e15df436815c16128ebef3c6eb8
Reviewed-on: https://go-review.googlesource.com/c/go/+/726820
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Michael Pratt <mpratt@google.com>
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
src/internal/runtime/maps/table.go