[ 
https://issues.apache.org/jira/browse/QPID-4821?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Andrew Stitcher resolved QPID-4821.
-----------------------------------

       Resolution: Fixed
    Fix Version/s: 0.23

Fixed on trunk in r1480377
                
> 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
>             Fix For: 0.23
>
>
> 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-unsubscr...@qpid.apache.org
For additional commands, e-mail: dev-h...@qpid.apache.org

Reply via email to