Darrel Schneider created GEODE-9555:
---------------------------------------
Summary: 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
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.3.4#803005)