Uploaded image for project: 'Qpid'
  1. Qpid
  2. QPID-4558 Implement Selector support in C++ broker
  3. QPID-4821

Selector Identifier lookup is very inefficient

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.22, 0.23
    • 0.23
    • C++ Broker
    • None

    Description

      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.

      Attachments

        Activity

          People

            astitcher Andrew Stitcher
            astitcher Andrew Stitcher
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: