Andrew Stitcher created QPID-4821:
-------------------------------------

             Summary: Selector Identifier lookup is very inefficient
                 Key: QPID-4821
                 URL: https://issues.apache.org/jira/browse/QPID-4821
             Project: Qpid
          Issue Type: Sub-task
          Components: C++ Broker
    Affects Versions: 0.22, 0.23
            Reporter: Andrew Stitcher
            Assignee: Andrew Stitcher


Currently selector identifier lookup directly uses Message::getProperty(). This 
is implemented by iterating over every property of the message and seeing if it 
is the property we wanted. So we end up iterating over all the properties for 
every identifier we lookup.

We really only need to do one iteration and we can save away every property we 
find for ongoing use in looking up selector identifiers.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to