Uploaded image for project: 'ActiveMQ Artemis'
  1. ActiveMQ Artemis
  2. ARTEMIS-1357

TypedProperties encode/decode improvement

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 2.3.0
    • Broker
    • None

    Description

      In the TypedProperties decode path are possible several improvements:

      • avoid resizing (with rehashing) of the properties map
      • avoid any allocation of BooleanValue and NullValue

      In the TypedProperties encode path is possible to use internal looping using Java 8 lambdas:

      • to avoid the allocation of the Entries collection + iterator
      • to increase the chance of loop unrolling during the iteration

      Attachments

        Issue Links

          Activity

            People

              nigro.fra@gmail.com Francesco Nigro
              nigro.fra@gmail.com Francesco Nigro
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: