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

Wes McKinney commented on ARROW-85:
-----------------------------------

The `Equals` method compares the buffers' *contents*, so you need to compare 
the memory somehow. 

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

Reply via email to