Uploaded image for project: 'Infinispan'
  1. Infinispan
  2. ISPN-16165

ResourceManagerImpl.lookupResource can be faster

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Done
    • Icon: Major Major
    • 15.1.0.Dev01
    • 15.0.4.Final
    • REST, Server
    • None

      ResourceManagerImpl.lookupResource() uses streams which is a bit wasteful. Let's replace it with a loop to also reduce allocations.

              ttarrant@redhat.com Tristan Tarrant
              ttarrant@redhat.com Tristan Tarrant
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: