aboutsummaryrefslogtreecommitdiff
path: root/src/encoding
diff options
context:
space:
mode:
authorMatthew Dempsky <mdempsky@google.com>2015-12-07 02:12:12 -0800
committerMatthew Dempsky <mdempsky@google.com>2015-12-07 20:13:32 +0000
commit423b0cc25ad8f75825db70a370ea9b696a17074d (patch)
tree6327af0084500fca93a6e2a401e4db54cb385fa9 /src/encoding
parentb2492d16a01ff102b15dbe9cb1b20465e1cfeda0 (diff)
downloadgo-423b0cc25ad8f75825db70a370ea9b696a17074d.tar.xz
cmd/compile: base mapaccess optimizations on algtype
algtype already controls the behavior of the normal map access code paths, so it makes sense to base the decision on which optimized paths are applicable on it too. Enables use of optimized paths for key types like [8]byte and struct{s string}. Fixes #13271. Change-Id: I48c52d97abaa7259ad5aba9641ea996a967cd359 Reviewed-on: https://go-review.googlesource.com/17464 Run-TryBot: Matthew Dempsky <mdempsky@google.com> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Keith Randall <khr@golang.org>
Diffstat (limited to 'src/encoding')
0 files changed, 0 insertions, 0 deletions