qpid-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrew Stitcher (JIRA)" <j...@apache.org>
Subject [jira] [Created] (PROTON-1780) AMQP lists and maps should be enocded as LIST8 and MAP8 if possible
Date Thu, 01 Mar 2018 19:28:00 GMT
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: dev-unsubscribe@qpid.apache.org
For additional commands, e-mail: dev-help@qpid.apache.org


Mime
View raw message