diff options
author | Sverker Eriksson <[email protected]> | 2018-03-05 17:54:01 +0100 |
---|---|---|
committer | Sverker Eriksson <[email protected]> | 2018-03-05 17:54:01 +0100 |
commit | 847c465d9fae3630c011d928743f262288072057 (patch) | |
tree | 5740758fb1b3a65ee562f4be4ef1d71192bab560 /erts/emulator/beam/erl_fun.h | |
parent | 4d547dfb2a012ba1cf8fb9dd3cdc4d9df933a37f (diff) | |
download | otp-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 'erts/emulator/beam/erl_fun.h')
0 files changed, 0 insertions, 0 deletions