diff options
author | Sverker Eriksson <[email protected]> | 2015-12-08 20:28:38 +0100 |
---|---|---|
committer | Sverker Eriksson <[email protected]> | 2015-12-09 20:18:18 +0100 |
commit | eb2e118ee2be5c008fc4417a443c351807adf123 (patch) | |
tree | 32392551cfb29c55fab23d1acbfecf69e3a789fb /erts/emulator/beam/erl_process_dict.h | |
parent | 343f461a2810ce3440b1d7c55cda996038071d87 (diff) | |
download | otp-eb2e118ee2be5c008fc4417a443c351807adf123.tar.gz otp-eb2e118ee2be5c008fc4417a443c351807adf123.tar.bz2 otp-eb2e118ee2be5c008fc4417a443c351807adf123.zip |
erts: Optimize away function "array_put" in proc dict
Replace heave array_put() with a dumb array index assignment ARRAY_PUT
and instead introduce ensure_array_size() to be called when
we know the array might need to grow.
This change also ensures the entire HASH_RANGE is always
allocated. No need for ARRAY_GET to check index any more.
Diffstat (limited to 'erts/emulator/beam/erl_process_dict.h')
0 files changed, 0 insertions, 0 deletions