aboutsummaryrefslogtreecommitdiffstats
path: root/lib/stdlib/src/gen_server.erl
diff options
context:
space:
mode:
authorSverker Eriksson <[email protected]>2018-03-05 17:54:01 +0100
committerSverker Eriksson <[email protected]>2018-03-05 17:54:01 +0100
commit847c465d9fae3630c011d928743f262288072057 (patch)
tree5740758fb1b3a65ee562f4be4ef1d71192bab560 /lib/stdlib/src/gen_server.erl
parent4d547dfb2a012ba1cf8fb9dd3cdc4d9df933a37f (diff)
downloadotp-847c465d9fae3630c011d928743f262288072057.tar.gz
otp-847c465d9fae3630c011d928743f262288072057.tar.bz2
otp-847c465d9fae3630c011d928743f262288072057.zip
erts: Optimize erlang:put/2 for hash collision lists
Instead of rebuilding all cons cells before key, just unlink key cell from list with a destructive heap write op. This is safe as these lists never leak out and any new-to-old-heap-refs are preserved.
Diffstat (limited to 'lib/stdlib/src/gen_server.erl')
0 files changed, 0 insertions, 0 deletions