diff options
author | Sverker Eriksson <[email protected]> | 2018-03-19 16:03:03 +0100 |
---|---|---|
committer | Sverker Eriksson <[email protected]> | 2018-03-19 16:03:03 +0100 |
commit | 1d3acb70debd134c8346b7e98347171d5cf6fc62 (patch) | |
tree | a8c9bafe833f12768a1aeb625f33873e6f26dbf1 /lib/erl_interface/src/decode | |
parent | 194513197e19cd592f3f5c2231510542f5193fe4 (diff) | |
download | otp-1d3acb70debd134c8346b7e98347171d5cf6fc62.tar.gz otp-1d3acb70debd134c8346b7e98347171d5cf6fc62.tar.bz2 otp-1d3acb70debd134c8346b7e98347171d5cf6fc62.zip |
ic: Optimize oe_ei_encode_atom
1. Use ei_encode_atom_len to not repeat strlen(p) twice.
2. Do a dirty over estimation of atom encoding space needed
to avoid calling ei_encode_atom_len twice.
Diffstat (limited to 'lib/erl_interface/src/decode')
0 files changed, 0 insertions, 0 deletions