diff options
author | Anders Svensson <[email protected]> | 2017-04-16 11:16:47 +0200 |
---|---|---|
committer | Anders Svensson <[email protected]> | 2017-06-12 16:13:52 +0200 |
commit | 398a52b28ab64d1737b15b91b6be0a6e1426303b (patch) | |
tree | 31fd0d8999d02aca232ffeb19516decd4f82cc3d /lib/cosTransactions/ebin | |
parent | f2e75976772b6a1d52a2c71ec1eecb4b338ed632 (diff) | |
download | otp-398a52b28ab64d1737b15b91b6be0a6e1426303b.tar.gz otp-398a52b28ab64d1737b15b91b6be0a6e1426303b.tar.bz2 otp-398a52b28ab64d1737b15b91b6be0a6e1426303b.zip |
Make encoding of diameter_avp records more efficient
Prepend the header in a single step.
Before:
{[{{diameter_codec,pack_avp,1}, 7000, 126.074, 51.058}],
{ {diameter_codec,pack_avp,2}, 7000, 126.074, 51.058}, %
[{{diameter_codec,pack_avp,5}, 7000, 51.144, 25.758},
{{diameter_codec,pad,2}, 7000, 23.844, 23.570},
{suspend, 1, 0.028, 0.000}]}.
After:
{[{{diameter_codec,pack_avp,1}, 7000, 78.563, 26.986}],
{ {diameter_codec,pack_avp,2}, 7000, 78.563, 26.986}, %
[{{diameter_codec,pack_avp,6}, 7000, 51.459, 26.381},
{suspend, 4, 0.118, 0.000}]}.
Diffstat (limited to 'lib/cosTransactions/ebin')
0 files changed, 0 insertions, 0 deletions