aboutsummaryrefslogtreecommitdiff
path: root/src/encoding
diff options
context:
space:
mode:
authorKeith Randall <khr@golang.org>2015-06-08 08:42:28 -0700
committerKeith Randall <khr@golang.org>2015-09-09 21:06:49 +0000
commit00c638d243056b24f1deeb2d1d954e62baedd468 (patch)
treedb1ccef72c501061e20db5eef66cb98c597ff94b /src/encoding
parentaf7c9a42c1112175650f5261a2363ca37eec3932 (diff)
downloadgo-00c638d243056b24f1deeb2d1d954e62baedd468.tar.xz
runtime: on map update, don't overwrite key if we don't need to.
Keep track of which types of keys need an update and which don't. Strings need an update because the new key might pin a smaller backing store. Floats need an update because it might be +0/-0. Interfaces need an update because they may contain strings or floats. Fixes #11088 Change-Id: I9ade53c1dfb3c1a2870d68d07201bc8128e9f217 Reviewed-on: https://go-review.googlesource.com/10843 Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
Diffstat (limited to 'src/encoding')
0 files changed, 0 insertions, 0 deletions