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

ImmutableListCopy makes too many copies

This issue belongs to an archived project. You can view it, but you can't modify it. Learn more

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Minor Minor
    • 12.0.0.Final
    • 12.0.0.Final
    • Core
    • None

      An array copy is not needed when creating a new ImmutableListCopy instance from another ImmutableListCopy.

      The constructor with 2 list parameters can also avoid one array allocation by pre-allocating the array, or by using one list's array when the other list is empty.

              dberinde@redhat.com Dan Berindei (Inactive)
              dberinde@redhat.com Dan Berindei (Inactive)
              Archiver:
              rhn-support-adongare Amol Dongare

                Created:
                Updated:
                Resolved:
                Archived: