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/30 17:04:00 UTC
[jira] [Resolved] (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:all-tabpanel ]
Darrel Schneider resolved GEODE-6692.
-------------------------------------
Resolution: Fixed
Fix Version/s: 1.10.0
> 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
> Fix For: 1.10.0
>
> Time Spent: 20m
> Remaining Estimate: 0h
>
> 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)