gerrit/gerrit-reviewdb
Dave Borowitz aa75aac57d RefNames: Avoid StringBuilder copying
Presize all StringBuilders to 64 chars. The default for StringBuilder is
16, but pretty much all refs are longer than this, e.g.
"refs/changes/01/1" is already 17. The longest ref in this file
currently is cache-automerge at 62, followed by robot-comments at 32+;
64 is enough for now.

Add a variant of shard that takes a StringBuilder, since most places
within this file already have their own.

Change-Id: I7050620ca55266c8cff179902d564ce118c12806
2017-09-05 12:48:33 -04:00
..
src RefNames: Avoid StringBuilder copying 2017-09-05 12:48:33 -04:00
BUILD Bazel: Reformat build files 2016-12-07 11:33:07 +00:00