aboutsummaryrefslogtreecommitdiffhomepage
path: root/third_party/git
diff options
context:
space:
mode:
authorGravatar Derek Murray <mrry@google.com>2017-12-22 15:39:18 -0800
committerGravatar TensorFlower Gardener <gardener@tensorflow.org>2017-12-22 15:43:05 -0800
commitf10a598e34da5ea4060ccfb8a027dd5c37c108c0 (patch)
treedf2ab95e80fc1301ac957b35669bb5095f9aa069 /third_party/git
parent46ee1521bfe925c54546210f0ac062de70a8f904 (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