Commit 75b936e4 authored by Justin Lebar's avatar Justin Lebar Committed by TensorFlower Gardener
Browse files

Speed up HeapSimulator's UniqueOperandSourceBuffers.

Instead of constructing a temporary set, adding all its members to
our big set, then flattening into a vector, add the members to our
vector directly, then sort it and remove duplicates at the end.

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