Uploaded image for project: 'Batik'
  1. Batik
  2. BATIK-909

[patch] Use efficient form of toArray

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Resolution: Fixed
    • 1.8
    • None
    • Animation engine
    • None
    • Operating System: All
      Platform: All

    Description

      Code passes 0 length prototype array to the toArray method thereby making the call use reflection to build another array to fill for the return value. Much quicker to just pass the right sized array in the first place.

      Attachments

        1. efficienttoarrays.diff
          1 kB
          Dave Brosius

        Activity

          People

            batik-dev@xmlgraphics.apache.org Batik Developer's Mailing list
            dbrosius@apache.org Dave Brosius
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: