You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@arrow.apache.org by "Todd Farmer (Jira)" <ji...@apache.org> on 2022/07/12 14:05:03 UTC

[jira] [Assigned] (ARROW-7822) [C++] Allocation free error Status constants

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

Todd Farmer reassigned ARROW-7822:
----------------------------------

    Assignee:     (was: Ben Kietzman)

This issue was last updated over 90 days ago, which may be an indication it is no longer being actively worked. To better reflect the current state, the issue is being unassigned. Please feel free to re-take assignment of the issue if it is being actively worked, or if you plan to start that work soon.

> [C++] Allocation free error Status constants
> --------------------------------------------
>
>                 Key: ARROW-7822
>                 URL: https://issues.apache.org/jira/browse/ARROW-7822
>             Project: Apache Arrow
>          Issue Type: Improvement
>          Components: C++
>            Reporter: Ben Kietzman
>            Priority: Major
>
> {{Status::state_}} could be made a tagged pointer without affecting the fast path (passing around a non error status). The extra bit could be used to mark a Status' state as heap allocated or not, allowing very error statuses to be extremely cheap when their error state is known to be immutable. For example, this would allow a cheap default of {{Result<>::status_}}.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)