Commit afe79b09 authored by A. Unique TensorFlower's avatar A. Unique TensorFlower Committed by TensorFlower Gardener
Browse files

Replace calls to SerializeToStringDeterministic() with...

Replace calls to SerializeToStringDeterministic() with SerializeToBufferDeterministic(), which is typically 30% faster.

In addition, this change allows us to detect negatives in proto comparison without actually doing the serialization, in the case where the serialized protos are known to have different lengths.

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