lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Adrien Grand (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (LUCENE-4322) Can we make oal.util.packed.BulkOperation* smaller?
Date Thu, 23 Aug 2012 14:38:42 GMT

    [ https://issues.apache.org/jira/browse/LUCENE-4322?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13440335#comment-13440335
] 

Adrien Grand commented on LUCENE-4322:
--------------------------------------

bq. All of this was removed in core. 4.0 should be 1MB.

Even when removing the whole oal.util.packed package, the JAR size is still 2.1MB.

bq. We certainly dont need optimizations for bits per value > anything like 4 or 5 I think.
32 is outlandish, just use an int[].

These classes are not only used to store large int arrays in memory but also to perform encoding/decoding
of short sequences, such as in BlockPF. If we want BlockPF to remain fast, 5 is probably too
low. Mike tested BlockPF with an unspecialized decoder and it showed a great performance loss
: https://issues.apache.org/jira/browse/LUCENE-3892?focusedCommentId=13431491&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-13431491
                
> Can we make oal.util.packed.BulkOperation* smaller?
> ---------------------------------------------------
>
>                 Key: LUCENE-4322
>                 URL: https://issues.apache.org/jira/browse/LUCENE-4322
>             Project: Lucene - Core
>          Issue Type: Bug
>            Reporter: Michael McCandless
>             Fix For: 5.0, 4.0
>
>
> These source files add up to a lot of sources ... it caused problems when compiling under
Maven and InteliJ.
> I committed a change to make separates files, but in aggregate this is still a lot ...
> EG maybe we don't need to specialize encode?

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


Mime
View raw message