lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michael McCandless (JIRA)" <j...@apache.org>
Subject [jira] Commented: (LUCENE-714) Use a System.arraycopy more than a for
Date Fri, 17 Nov 2006 11:14:38 GMT
    [ 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: java-dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-dev-help@lucene.apache.org


Mime
View raw message