lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michael McCandless (JIRA)" <>
Subject [jira] Commented: (LUCENE-714) Use a System.arraycopy more than a for
Date Fri, 17 Nov 2006 11:14:38 GMT
    [ ] 
Michael McCandless commented on LUCENE-714:

Thanks for the patch!

OK, it looks like you're replacing two cases in 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:
>             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:
For more information on JIRA, see:


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message