You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@arrow.apache.org by "Chao Sun (JIRA)" <ji...@apache.org> on 2019/07/28 22:02:00 UTC

[jira] [Updated] (ARROW-5357) [Rust] Add capacity field in Buffer

     [ https://issues.apache.org/jira/browse/ARROW-5357?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Chao Sun updated ARROW-5357:
----------------------------
    Summary: [Rust] Add capacity field in Buffer  (was: [Rust] Change Buffer::len to represent total bytes instead of used bytes)

> [Rust] Add capacity field in Buffer
> -----------------------------------
>
>                 Key: ARROW-5357
>                 URL: https://issues.apache.org/jira/browse/ARROW-5357
>             Project: Apache Arrow
>          Issue Type: Improvement
>          Components: Rust
>            Reporter: Chao Sun
>            Assignee: Chao Sun
>            Priority: Major
>              Labels: pull-request-available
>          Time Spent: 1h
>  Remaining Estimate: 0h
>
> Currently {{Buffer::len}} records the number of used bytes, as opposed to the number of total bytes. This poses a problem when converting from buffers defined in flatbuffer, where the length is actually the number of allocated bytes for the buffer. 



--
This message was sent by Atlassian JIRA
(v7.6.14#76016)