mirror of
https://github.com/golang/go
synced 2024-09-06 00:19:45 +00:00
runtime: fix typo in loadFactor comment
Fixes #38174
Change-Id: Iacdbbcd0b4586302daf082e59d833b7aa58b1a6a
GitHub-Last-Rev: f0c96819eb
GitHub-Pull-Request: golang/go#38191
Reviewed-on: https://go-review.googlesource.com/c/go/+/226758
Reviewed-by: Alberto Donizetti <alb.donizetti@gmail.com>
This commit is contained in:
parent
e9850462aa
commit
8e6a8d9e28
|
@ -66,7 +66,7 @@ const (
|
|||
bucketCnt = 1 << bucketCntBits
|
||||
|
||||
// Maximum average load of a bucket that triggers growth is 6.5.
|
||||
// Represent as loadFactorNum/loadFactDen, to allow integer math.
|
||||
// Represent as loadFactorNum/loadFactorDen, to allow integer math.
|
||||
loadFactorNum = 13
|
||||
loadFactorDen = 2
|
||||
|
||||
|
|
Loading…
Reference in a new issue