diff options
author | Derek Murray <mrry@google.com> | 2017-12-22 15:39:18 -0800 |
---|---|---|
committer | TensorFlower Gardener <gardener@tensorflow.org> | 2017-12-22 15:43:05 -0800 |
commit | f10a598e34da5ea4060ccfb8a027dd5c37c108c0 (patch) | |
tree | df2ab95e80fc1301ac957b35669bb5095f9aa069 /third_party/git | |
parent | 46ee1521bfe925c54546210f0ac062de70a8f904 (diff) |
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
Diffstat (limited to 'third_party/git')
0 files changed, 0 insertions, 0 deletions