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

[patch] Use efficient form of toArray

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    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

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          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:

              Slack

                Issue deployment