diff options
author | Sverker Eriksson <[email protected]> | 2018-02-21 22:05:10 +0100 |
---|---|---|
committer | Sverker Eriksson <[email protected]> | 2018-02-21 22:05:10 +0100 |
commit | 4d547dfb2a012ba1cf8fb9dd3cdc4d9df933a37f (patch) | |
tree | a6c61eaaa334d5ca99293628a48282669df51d14 /lib/kernel/src/erl_distribution.erl | |
parent | 9ca2c14787f42c5fe98c9c00364b508844059438 (diff) | |
download | otp-4d547dfb2a012ba1cf8fb9dd3cdc4d9df933a37f.tar.gz otp-4d547dfb2a012ba1cf8fb9dd3cdc4d9df933a37f.tar.bz2 otp-4d547dfb2a012ba1cf8fb9dd3cdc4d9df933a37f.zip |
erts: Optimize erlang:put/2 for immed values
Do destructive write of immed value if key exists.
This is an optimization at the expense of get/0
which must now copy all (mutable) key-value tuples.
Diffstat (limited to 'lib/kernel/src/erl_distribution.erl')
0 files changed, 0 insertions, 0 deletions