]> Cypherpunks repositories - gostls13.git/commit
runtime: refactor hmap.extra.overflow array into two separate fields
authorMartin Möhrmann <moehrmann@google.com>
Sun, 10 Sep 2017 10:55:16 +0000 (12:55 +0200)
committerMartin Möhrmann <moehrmann@google.com>
Wed, 13 Sep 2017 06:43:01 +0000 (06:43 +0000)
commit1d3ad6733e7b1417444bfe1c5ca85b6108e9ac6c
tree8249cd87bb9dd6ba1645fe0b1223b9fbc577e339
parenta4956248a8b15cc8bb2fabce0be4a802e965ec3c
runtime: refactor hmap.extra.overflow array into two separate fields

This makes it easier to deduce from the field names which overflow
field corresponds to h.buckets and which to h.oldbuckets by aligning
the naming with the buckets fields in hmap.

Change-Id: I8d6a729229a190db0212bac012ead1a3c13cf5d0
Reviewed-on: https://go-review.googlesource.com/62411
Run-TryBot: Martin Möhrmann <moehrmann@google.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Keith Randall <khr@golang.org>
src/cmd/compile/internal/gc/reflect.go
src/runtime/hashmap.go