diff options
author | Anders Svensson <[email protected]> | 2017-07-29 16:53:18 +0200 |
---|---|---|
committer | Anders Svensson <[email protected]> | 2017-08-03 17:17:37 +0200 |
commit | 1a2c87f0035849fc5a24bff5dd36796500d1f451 (patch) | |
tree | b9101ec9035474083ce13c4a7a70b6e2a1943c5b /erts/autoconf | |
parent | 96cd627acfde682875149effda4611dc778622fd (diff) | |
download | otp-1a2c87f0035849fc5a24bff5dd36796500d1f451.tar.gz otp-1a2c87f0035849fc5a24bff5dd36796500d1f451.tar.bz2 otp-1a2c87f0035849fc5a24bff5dd36796500d1f451.zip |
Optimize sub-binaries
With ERL_COMPILER_OPTIONS=bin_opt_info, before:
base/diameter_codec.erl:508: Warning: NOT OPTIMIZED: the binary matching instruction that follows in the same function have problems that prevent delayed sub binary optimization (probably indicated by INFO warnings)
And after:
base/diameter_codec.erl:508: Warning: OPTIMIZED: creation of sub binary delayed
This has a surprisingly large impact on the performance of
diameter_codec:collect_avps/2: about 15% faster in one testcase on a RAR
with 7 AVPs.
Diffstat (limited to 'erts/autoconf')
0 files changed, 0 insertions, 0 deletions