Donal Evans created GEODE-9446:
----------------------------------

             Summary: Remove unnecessary uses of byte[] in RedisSortedSet
                 Key: GEODE-9446
                 URL: https://issues.apache.org/jira/browse/GEODE-9446
             Project: Geode
          Issue Type: Improvement
          Components: redis
    Affects Versions: 1.15.0
            Reporter: Donal Evans


The current implementation of {{RedisSortedSet}} uses an 
{{AbstractOrderedStatisticsEntry}} class containing both {{double}} score and 
{{byte[]}} scoreBytes fields. The {{double}} field is required to allow the 
sorting behaviour required of the data structure, but the {{byte[]}} field is 
not necessary except when returning results to the client.

The class should be refactored to eliminate the {{byte[]}} scoreBytes field 
from {{AbstractOrderedStatisticsEntry}} and reduce the memory overhead of 
operations.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to