[ https://issues.apache.org/jira/browse/ARROW-2435?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16445136#comment-16445136 ]
ASF GitHub Bot commented on ARROW-2435: --------------------------------------- liurenjie1024 commented on issue #1875: ARROW-2435: [Rust] Add memory pool abstraction. URL: https://github.com/apache/arrow/pull/1875#issuecomment-382943494 Hi @paddyhoran, in fact these are conventions inherited from allocator api, and here are my thoughts: * when you allocate a new piece of memory, in most cases it's used for storing data, and you need to write to it. * usize is a type designed for size and it has different length in different platforms for the sake of efficiency. If you use i64 in 32-bit platforms, it may be wasteful and hurt performance. ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org > [Rust] Add memory pool abstraction. > ----------------------------------- > > Key: ARROW-2435 > URL: https://issues.apache.org/jira/browse/ARROW-2435 > Project: Apache Arrow > Issue Type: Improvement > Components: Rust > Affects Versions: 0.9.0 > Reporter: Renjie Liu > Assignee: Renjie Liu > Priority: Major > Labels: pull-request-available > Fix For: 0.10.0 > > > Add memory pool abstraction as the c++ api. -- This message was sent by Atlassian JIRA (v7.6.3#76005)