Avoid unnecessary copying and allocation in `ExecutorBarrier::WhenDone()`.
Previously the code would make a copy of the `done_cb_` and update the status on a successful completion, neither of which is necessary, and both of which showed up in trace amounts in profiling. PiperOrigin-RevId: 179970701
Loading
Please sign in to comment