https://codereview.appspot.com/141270043/diff/80001/src/runtime/hashmap.go File src/runtime/hashmap.go (right): https://codereview.appspot.com/141270043/diff/80001/src/runtime/hashmap.go#newcode128 src/runtime/hashmap.go:128: // If you modify hiter, also change cmd/gc/reflect.c to ...
10 years, 7 months ago
(2014-09-08 23:00:29 UTC)
#2
Please add a proper test, perhaps along the lines of test/maplinear.go. The benchmark is good ...
10 years, 7 months ago
(2014-09-09 00:49:52 UTC)
#6
Message was sent while issue was closed.
Please add a proper test, perhaps along the lines of test/maplinear.go.
The benchmark is good but it won't keep us from breaking this again
the next time we rewrite maps.
Issue 141270043: code review 141270043: runtime: on bigger maps, start iterator at a random bucket.
(Closed)
Created 10 years, 7 months ago by khr
Modified 10 years, 7 months ago
Reviewers: rsc
Base URL:
Comments: 1