diff options
author | Googler <noreply@google.com> | 2016-07-06 10:16:01 +0000 |
---|---|---|
committer | Klaus Aehlig <aehlig@google.com> | 2016-07-07 08:35:42 +0000 |
commit | e0e76fd8a60b37dc92c9e3a1b31996a19a71229d (patch) | |
tree | cffb19c10338ecacabec4acaf8cfa41bbc6cd8ab /src/main/java/com/google/devtools/build/lib/actions/CachedActionEvent.java | |
parent | bf2e4ee428b72d6d81f1be11666df458e877f074 (diff) |
Micro-optimizations to Digest.fromMetadata():
Don't encode paths as UTF-8 to md5sum them (the map keys are Strings derived
from Paths, for which Fingerprint.addPath() takes the same shortcut).
Remove defensive copy from the constructor (which did not need to be public).
Remove redundant call to Fingerprint.reset().
--
MOS_MIGRATED_REVID=126682477
Diffstat (limited to 'src/main/java/com/google/devtools/build/lib/actions/CachedActionEvent.java')
0 files changed, 0 insertions, 0 deletions