geode-issues mailing list archives

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


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:
>             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

View raw message