[ 
http://issues.apache.org/jira/browse/LUCENE-714?page=comments#action_12450704 ] 
            
Michael McCandless commented on LUCENE-714:
-------------------------------------------

Thanks for the patch!

OK, it looks like you're replacing two cases in DocumentWriter.java where we 
are manually copying arrays with for loops, with calls to System.arraycopy 
instead.  This patch applies cleanly & the unit tests pass.  I will commit this.



> Use a System.arraycopy more than a for
> --------------------------------------
>
>                 Key: LUCENE-714
>                 URL: http://issues.apache.org/jira/browse/LUCENE-714
>             Project: Lucene - Java
>          Issue Type: Improvement
>            Reporter: Nicolas Lalevée
>         Attachments: DocumentWriter.patch
>
>
> In org.apache.lucene.index.DocumentWriter. The patch will explain by itself. 
> I didn't make any performance test, but I think it is obvious that it will be 
> faster.
> All tests passed.

-- 
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



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to