lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Yonik Seeley (JIRA)" <>
Subject [jira] [Commented] (SOLR-7110) Optimize JavaBinCodec to minimize string Object creation
Date Mon, 16 Feb 2015 21:11:12 GMT


Yonik Seeley commented on SOLR-7110:

This should really only affect how fast the young gen fills up, which should not have an effect
on full GCs.

bq. So, this is not really an optimization on CPU, it is a memory optimization.

The question at hand is if the memory optimization is worth the CPU overhead here.  What's
the long term decoding throughput before and after the patch?

> Optimize JavaBinCodec to minimize string Object creation
> --------------------------------------------------------
>                 Key: SOLR-7110
>                 URL:
>             Project: Solr
>          Issue Type: Improvement
>            Reporter: Noble Paul
>            Assignee: Noble Paul
>            Priority: Minor
>         Attachments: SOLR-7110.patch, SOLR-7110.patch
> In JavabinCodec we already optimize on strings creation , if they are repeated in the
same payload. if we use a cache it is possible to avoid string creation across objects as

This message was sent by Atlassian JIRA

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message