You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@geode.apache.org by "Darrel Schneider (JIRA)" <ji...@apache.org> on 2019/04/22 20:27:00 UTC
[jira] [Commented] (GEODE-6692) DataSerializer.readString can be
optimized for zero length strings
[ https://issues.apache.org/jira/browse/GEODE-6692?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16823431#comment-16823431 ]
Darrel Schneider commented on GEODE-6692:
-----------------------------------------
I have a fix in:
c06cf216cf58c02093d35cff56e04fedcf87dcd0
> DataSerializer.readString can be optimized for zero length strings
> ------------------------------------------------------------------
>
> Key: GEODE-6692
> URL: https://issues.apache.org/jira/browse/GEODE-6692
> Project: Geode
> Issue Type: Improvement
> Components: serialization
> Reporter: Darrel Schneider
> Assignee: Darrel Schneider
> Priority: Major
> Labels: performance
>
> DataSerializer.readString still allocates an instance of String when the string being deserialized is an empty string. If instead it just returned the canonical "" it would save some object allocations.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)