[
https://issues.apache.org/jira/browse/ARROW-85?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15215384#comment-15215384
]
Wes McKinney commented on ARROW-85:
-----------------------------------
If separate Buffer objects reference the same virtual address segment we should
not call memcmp, I agree. Can you clarify the JIRA scope to optimize for this
special case? If two Buffers reference different memory, we must use memcmp (or
equivalent).
> C++: memcmp is too expensive for Buffer's Equal
> -----------------------------------------------
>
> Key: ARROW-85
> URL: https://issues.apache.org/jira/browse/ARROW-85
> Project: Apache Arrow
> Issue Type: Improvement
> Reporter: Kai Zheng
>
> It looks too expensive to use memcmp to compare two buffers. Instead, the
> starting address and length/capacity would be good enough to use. Higher
> level codes relying on memcmp behaviour can be done in higher level.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)