Commit b9e55ec7 authored by Derek Murray's avatar Derek Murray Committed by TensorFlower Gardener
Browse files

Reduce overhead in Executor critical section.

This change changes two incidences of `InlinedVector<TaggedNode>::push_back()` (of a newly constructed TaggedNode) into `InlinedVector<TaggedNode>::emplace_back()`. Since one of these instances happens in `ExecutorState::FrameState::ActivateNodes()`, which is called when the FrameState mutex is held, the serial performance improvement should compound with reduced contention on that mutex.

PiperOrigin-RevId: 211094227
parent 30ebb9b7
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment