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

Michael Park commented on MESOS-8301:
-------------------------------------

{noformat}
commit 8014e3f9e1838745a6f3af7c1e2a557bd74349b0
Author: Dmitry Zhuk <dz...@twopensource.com>
Date:   Tue Dec 5 11:20:55 2017 -0800

    Added `CallableOnce` support in `Future`.

    `Future` guarantees that callbacks are called at most once, so it can
    use `lambda::CallableOnce` to expicitly declare this, and allow
    corresponding optimizations with moves.

    Review: https://reviews.apache.org/r/63638/
{noformat}
{noformat}
commit 09b72e9bbf87793ce84df5d5f9d5f292c60fa5ee
Author: Dmitry Zhuk <dz...@twopensource.com>
Date:   Tue Dec 5 11:20:41 2017 -0800

    Added `CallableOnce` support in `defer`.

    This allows `defer` result to be converted to `CallableOnce`, ensuring
    that bound arguments are moved, when call is made, and avoiding making
    copies of bound arguments.

    Review: https://reviews.apache.org/r/63637/
{noformat}

> Support moving into defer/dispatch/install handlers.
> ----------------------------------------------------
>
>                 Key: MESOS-8301
>                 URL: https://issues.apache.org/jira/browse/MESOS-8301
>             Project: Mesos
>          Issue Type: Improvement
>          Components: libprocess
>            Reporter: Benjamin Mahler
>            Assignee: Dmitry Zhuk
>
> Currently, dispatch and defer will take copies of the provided arguments. 
> Also, a protobuf message handler cannot move the supplied message. We should 
> support moves for these for efficiency.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to