[ https://issues.apache.org/jira/browse/GEODE-9555?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Owen Nichols closed GEODE-9555. ------------------------------- > the redis commands that increment or decrement using a long do an extra > conversion > ---------------------------------------------------------------------------------- > > Key: GEODE-9555 > URL: https://issues.apache.org/jira/browse/GEODE-9555 > Project: Geode > Issue Type: Improvement > Components: redis > Reporter: Darrel Schneider > Assignee: Darrel Schneider > Priority: Major > Labels: pull-request-available > Fix For: 1.15.0 > > > The redis commands that increment or decrement using a long end up storing > the new value in the RedisData instance as an ascii byte array. They are also > required to return that value to the client. When geode's implementation > returns the value, it currently does so as a "long" instead of as a "byte[]". > This forces the code later on to call Coder.longToBytes again. Since we > already have it in the correct form we should return that to the caller so > that it can just copy the bytes instead of needing to compute them again. -- This message was sent by Atlassian Jira (v8.20.7#820007)