aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/tools
diff options
context:
space:
mode:
authorGravatar Michajlo Matijkiw <michajlo@google.com>2016-12-15 17:25:08 +0000
committerGravatar John Cater <jcater@google.com>2016-12-15 20:38:55 +0000
commite3db95e855ac11f161d24d472efd488dc4085dfe (patch)
tree421e1c652eabd57b6ab0925ba9fa4e7876cfc742 /src/tools
parent49757602c4ca9e48081f98850007b2ef17427b46 (diff)
Streamline Fingerprint implementation
Thread all updates through a CodedOutputStream. This has the benefit of potentially hashing less data, as many int values can be represented more compactly, and reducing the churn of hashing strings (generally), since CodedOutputStream is already heavily optimized for this. While the buffer size is a little generous, it winds up paying off. -- PiperOrigin-RevId: 142151062 MOS_MIGRATED_REVID=142151062
Diffstat (limited to 'src/tools')
0 files changed, 0 insertions, 0 deletions