[ http://issues.apache.org/jira/browse/DERBY-816?page=all ]

Knut Anders Hatlen updated DERBY-816:
-------------------------------------

    Component: Network Server
               Newcomer
               Performance
     Priority: Trivial  (was: Minor)

It seems like System.arraycopy is used all places where it potentially could be 
used. Found nothing more to change in DDMReader. In DDMWriter, I searched for 
"for" and "while" and found three places where Arrays.fill could be used for 
padding.

I'm adding component "Newcomer", as it's a simple case of calculating from 
index and to index, and replacing the for loops with Arrays.fill().

> In DDMWriter and DDMReader, use system routines in java.util.Arrays and 
> System.arrayCopy
> ----------------------------------------------------------------------------------------
>
>          Key: DERBY-816
>          URL: http://issues.apache.org/jira/browse/DERBY-816
>      Project: Derby
>         Type: Sub-task
>   Components: Network Server, Newcomer, Performance
>     Versions: 10.1.1.0, 10.1.1.1, 10.1.1.2, 10.1.2.0, 10.1.2.1, 10.2.0.0, 
> 10.1.3.0, 10.1.2.2
>     Reporter: Knut Anders Hatlen
>     Priority: Trivial
>      Fix For: 10.2.0.0

>
> Reported by Kathey Marsden in DERBY-212:
> In DDMWriter and DDMReader, use System Routines in
> java.util.Arrays and System.arrayCopy instead of
> writing code to do functions like copy arrays and
> pad strings.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira

Reply via email to