You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@arrow.apache.org by "Ben Kietzman (Jira)" <ji...@apache.org> on 2021/01/08 18:20:00 UTC

[jira] [Commented] (ARROW-11191) [C++] Use FnOnce for TaskGroup's tasks instead of std::function

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

Ben Kietzman commented on ARROW-11191:
--------------------------------------

In addition, I think we no longer need distinct TaskGroup::Append/AppendReal or ThreadPool/Executor::Submit/SubmitReal, I think the protected *Real functions could be deleted.

> [C++] Use FnOnce for TaskGroup's tasks instead of std::function
> ---------------------------------------------------------------
>
>                 Key: ARROW-11191
>                 URL: https://issues.apache.org/jira/browse/ARROW-11191
>             Project: Apache Arrow
>          Issue Type: Improvement
>          Components: C++
>            Reporter: Michal Nowakiewicz
>            Assignee: Michal Nowakiewicz
>            Priority: Minor
>             Fix For: 4.0.0
>
>
> FnOnce drops dependencies on invocation and is lighter weight than std::function



--
This message was sent by Atlassian Jira
(v8.3.4#803005)