1
0
mirror of https://github.com/golang/go synced 2024-11-18 09:04:49 -07: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:
maronghe 2020-04-01 07:15:49 +00:00 committed by Alberto Donizetti
parent e9850462aa
commit 8e6a8d9e28

View File

@ -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