[prev in list] [next in list] [prev in thread] [next in thread] 

List:       batik-dev
Subject:    DO NOT REPLY [Bug 47212] New: [patch] Use efficient form of toArray
From:       bugzilla () apache ! org
Date:       2009-05-18 0:09:11
Message-ID: bug-47212-30099 () https ! issues ! apache ! org/bugzilla/
[Download RAW message or body]

https://issues.apache.org/bugzilla/show_bug.cgi?id=47212

           Summary: [patch] Use efficient form of toArray
           Product: Batik
           Version: 1.8
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Animation engine
        AssignedTo: batik-dev@xmlgraphics.apache.org
        ReportedBy: dbrosius@apache.org


Created an attachment (id=23674)
 --> (https://issues.apache.org/bugzilla/attachment.cgi?id=23674)
patch for passing correctly sized array to toArray

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.

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: batik-dev-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: batik-dev-help@xmlgraphics.apache.org

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic