]> Cypherpunks repositories - gostls13.git/commitdiff
runtime: fix typo in loadFactor comment
authormaronghe <loganma0209@gmail.com>
Wed, 1 Apr 2020 07:15:49 +0000 (07:15 +0000)
committerAlberto Donizetti <alb.donizetti@gmail.com>
Wed, 1 Apr 2020 07:21:05 +0000 (07:21 +0000)
Fixes #38174

Change-Id: Iacdbbcd0b4586302daf082e59d833b7aa58b1a6a
GitHub-Last-Rev: f0c96819ebb9928879a03957244f2de655708cbb
GitHub-Pull-Request: golang/go#38191
Reviewed-on: https://go-review.googlesource.com/c/go/+/226758
Reviewed-by: Alberto Donizetti <alb.donizetti@gmail.com>
src/runtime/map.go

index e456c32556b95032939e8d2e6b9377b448611bc7..399c1b071fd703af058d738e80bc8c29a93c0497 100644 (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