Andrew Stitcher created PROTON-1780:
---------------------------------------
Summary: AMQP lists and maps should be enocded as LIST8 and MAP8
if possible
Key: PROTON-1780
URL: https://issues.apache.org/jira/browse/PROTON-1780
Project: Qpid Proton
Issue Type: Improvement
Components: proton-c
Affects Versions: proton-c-0.22.0
Reporter: Andrew Stitcher
The current proton-c 0.22 encoder always encodes maps and lists using the
LIST32 and MAP32 types.
Much of the data exchanged using these types (especially AMQP frames
themselves) would fit into 255 bytes and so fit into LIST8 or MAP8 types. This
would save 6 bytes - the 32 variants take 9 bytes whereas the 8 variants take 3
bytes.
This will be noticed most in short exchanges and using small messages.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]