lucene-solr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "John Wang (JIRA)" <j...@apache.org>
Subject [jira] Commented: (SOLR-390) HashDocSet initialization of internal array is not efficient
Date Sat, 03 Nov 2007 05:43:10 GMT

    [ https://issues.apache.org/jira/browse/SOLR-390?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12539863
] 

John Wang commented on SOLR-390:
--------------------------------

Hi Yonik:
    With my tests, for large arrays, e.g. 2M entries, there is a 14% gain.
But it is 14% out of a small number, so I guess it is not a big deal. Sorry
for the false alarm.

-John



> HashDocSet initialization of internal array is not efficient
> ------------------------------------------------------------
>
>                 Key: SOLR-390
>                 URL: https://issues.apache.org/jira/browse/SOLR-390
>             Project: Solr
>          Issue Type: Bug
>          Components: search
>            Reporter: John Wang
>
> HashDocSet initializes the internal array but iterating it instead of using Arrays.fill
which is much faster. Patch included

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


Mime
View raw message