You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "Andrew Stitcher (JIRA)" <ji...@apache.org> on 2013/05/08 19:05:15 UTC

[jira] [Created] (QPID-4821) Selector Identifier lookup is very inefficient

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: dev-unsubscribe@qpid.apache.org
For additional commands, e-mail: dev-help@qpid.apache.org