geode-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Darrel Schneider (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (GEODE-1295) Optimize OffHeapStoredObject checkDataEquals methods
Date Mon, 25 Apr 2016 17:22:13 GMT

    [ https://issues.apache.org/jira/browse/GEODE-1295?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15256630#comment-15256630
] 

Darrel Schneider commented on GEODE-1295:
-----------------------------------------

If the code is changed to just directly read the bytes one at a time instead of copying to
the heap then the call of "incReads" can be removed.

> Optimize OffHeapStoredObject checkDataEquals methods
> ----------------------------------------------------
>
>                 Key: GEODE-1295
>                 URL: https://issues.apache.org/jira/browse/GEODE-1295
>             Project: Geode
>          Issue Type: Improvement
>          Components: offheap
>            Reporter: Darrel Schneider
>
> Both these methods have code that copies to a 1k heap byte array. I think it would be
better for the code to just access the off-heap bytes directly instead of copying them to
the heap.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message