ignite-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vladislav Pyatkov (JIRA)" <j...@apache.org>
Subject [jira] [Created] (IGNITE-5602) By bytes access to binary format
Date Wed, 28 Jun 2017 09:50:01 GMT
Vladislav Pyatkov created IGNITE-5602:

             Summary: By bytes access to binary format
                 Key: IGNITE-5602
                 URL: https://issues.apache.org/jira/browse/IGNITE-5602
             Project: Ignite
          Issue Type: New Feature
    Affects Versions: 2.0
            Reporter: Vladislav Pyatkov

Need to avoid memory additional allocation when pass bytes to stream.
Now we are doing only

BinaryObject get = (BinaryObject) cache.get(key);
byte[] dataFromCache = get.<byte[]>field("data");
System.out.write(dataFromCache, 0, dataFromCache.length);

But we want to write bytes to stream directly, without allocation additional {{byte[]}}.

This message was sent by Atlassian JIRA

View raw message