diff options
author | michajlo <michajlo@google.com> | 2017-08-08 00:33:26 +0200 |
---|---|---|
committer | Marcel Hlopko <hlopko@google.com> | 2017-08-08 13:03:22 +0200 |
commit | f3e91b2d140011bcf53e44528b59f559766a20e4 (patch) | |
tree | 41bb5e33b6d701d3e89cf8bf7a8c33655560d392 /src/main/java/com/google/devtools/build/lib/profiler | |
parent | 49b4bd3db59a8007bf9bdc6c9ec1fa95ce2e88b9 (diff) |
Use Sets.new...WithExpectedSize to presize some collections
It was noticed that we missed this in commments on
https://github.com/bazelbuild/bazel/commit/2266a6f88030e7121031db19fb5efc3fc7cb149c.
This a better job of preventing resizes than the former, with the caveat that
it may create a larger collection than is necessary.
PiperOrigin-RevId: 164520695
Diffstat (limited to 'src/main/java/com/google/devtools/build/lib/profiler')
0 files changed, 0 insertions, 0 deletions