lucene-dev mailing list archives

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

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

Robert Muir commented on LUCENE-4322:
-------------------------------------

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

Right, I don't mean to complain about the packed package or single it out (though I have concerns
about the massive specialization),
I was pointing out the larger issue of bloat. There are definitely other problems too.

{quote}
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
{quote}

But I don't think an unspecialized decoder is necessarily fair. I think we could optimize
the low bpv that we would find in freqs/positions and then have a unspecialized fallback or
whatever.

I have concerns that specializing every bpv just means that nothing is even getting JITd and
actually makes things worse.

                
> 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