You are viewing a plain text version of this content. The canonical link for it is here.
Posted to batik-dev@xmlgraphics.apache.org by "Vincent Hennebert (JIRA)" <ji...@apache.org> on 2014/04/07 20:31:16 UTC

[jira] [Resolved] (BATIK-909) [patch] Use efficient form of toArray

     [ https://issues.apache.org/jira/browse/BATIK-909?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Vincent Hennebert resolved BATIK-909.
-------------------------------------

    Resolution: Fixed

Patch applied in rev. [1585547|http://svn.apache.org/r1585547].

Thanks!
Vincent

> [patch] Use efficient form of toArray
> -------------------------------------
>
>                 Key: BATIK-909
>                 URL: https://issues.apache.org/jira/browse/BATIK-909
>             Project: Batik
>          Issue Type: Bug
>          Components: Animation engine
>    Affects Versions: 1.8
>         Environment: Operating System: All
> Platform: All
>            Reporter: Dave Brosius
>            Assignee: Batik Developer's Mailing list
>         Attachments: efficienttoarrays.diff
>
>
> 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.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

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