Uploaded image for project: 'ActiveMQ Classic'
  1. ActiveMQ Classic
  2. AMQ-9052

Selectors: improve perfomance of Equals and Not

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 5.18.0, 5.17.2
    • Selector
    • None

    Description

      There are some trivial optimisations that can be done in order to improve the efficiency of the selectors.

      This is a port of some enhancements from my fork of the selectors code
      https://github.com/datastax/pulsar-jms/tree/master/activemq-filters

       

      I don't have numbers to share but profiling showed up a non negligible saving of CPU resources

       

      The changes in this patch are related to the Equals and the Not operators

       

      Attachments

        Activity

          People

            jbonofre Jean-Baptiste Onofré
            eolivelli Enrico Olivelli
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0h
                0h
                Logged:
                Time Spent - 0.5h
                0.5h