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] [Updated] (LUCENE-4322) Can we make oal.util.packed.BulkOperation* smaller?
Date Tue, 28 Aug 2012 16:37:07 GMT

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

Adrien Grand updated LUCENE-4322:
---------------------------------

    Attachment: LUCENE-4322.patch

Patch that tries to reduce the JAR size:
 - unspecialized encode methods,
 - specialized decode methods only when 0 < bitsPerValue <= 24.

Overall, it makes the core jar 361kb bytes smaller (2700542 bytes before applying the patch,
2330514 after).

I ran a quick run of lucene-util in debug mode with blockPostingsFormat=For and it showed
no performance difference.
                
> 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
>
>         Attachments: LUCENE-4322.patch
>
>
> 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
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