]> Cypherpunks repositories - gostls13.git/commit
runtime: fix buckHashSize duplication
authorDmitry Vyukov <dvyukov@google.com>
Sat, 12 Dec 2020 15:46:01 +0000 (16:46 +0100)
committerTobias Klauser <tobias.klauser@gmail.com>
Sun, 22 Aug 2021 13:11:50 +0000 (13:11 +0000)
commit96d816c5740f7576ed0f6346f70958ce9ef1e3b4
tree24407488894129eadec6caa743514302275171d5
parent6e50991d2a38058d0824f8b086677fbe9774c9f9
runtime: fix buckHashSize duplication

We have a constant for 179999, don't duplicate it.

Change-Id: Iefb9c4746f6dda2e08b42e3c978963198469ee8c
Reviewed-on: https://go-review.googlesource.com/c/go/+/277375
Reviewed-by: Keith Randall <khr@golang.org>
Run-TryBot: Keith Randall <khr@golang.org>
Run-TryBot: Michael Pratt <mpratt@google.com>
TryBot-Result: Go Bot <gobot@golang.org>
Trust: Michael Pratt <mpratt@google.com>
src/runtime/mprof.go