lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Simon Willnauer (JIRA)" <j...@apache.org>
Subject [jira] Updated: (LUCENE-2169) Speedup of CharArraySet#copy if a CharArraySet instance is passed to copy.
Date Thu, 17 Dec 2009 12:38:19 GMT

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

Simon Willnauer updated LUCENE-2169:
------------------------------------

    Attachment: LUCENE-2169.patch

here is a patch 

> Speedup of CharArraySet#copy if a CharArraySet instance is passed to copy.
> --------------------------------------------------------------------------
>
>                 Key: LUCENE-2169
>                 URL: https://issues.apache.org/jira/browse/LUCENE-2169
>             Project: Lucene - Java
>          Issue Type: Improvement
>          Components: Analysis
>    Affects Versions: 3.1
>            Reporter: Simon Willnauer
>             Fix For: 3.1
>
>         Attachments: LUCENE-2169.patch
>
>
> the copy method should use the entries array itself to copy the set internally instead
of iterating over all values. this would speedup copying even small set 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


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