summaryrefslogtreecommitdiff
path: root/tools/warn/tidy_warn_patterns.py
diff options
context:
space:
mode:
author Dan Willemsen <dwillemsen@google.com> 2020-06-08 18:50:14 -0700
committer Dan Willemsen <dwillemsen@google.com> 2020-06-08 19:10:23 -0700
commitfd1e67b8ce041c96ddb8ca99a375182f50fad7a4 (patch)
treed27732625b4e9b0378eb2697ca391604ea71cd34 /tools/warn/tidy_warn_patterns.py
parent83e9cfe291c7acde13e36101bb82f66eff59a9af (diff)
More performance improvements
Instead of using `x := $(x) foo`, make sure `x` is initialized first, then use `x += foo`. For a aosp-master/aosp_crosshatch-userdebug build, this takes the build from 49s to 33s (no significant difference in peak memory) Bug: 158488548 Test: build-aosp_crosshatch.ninja is the same before/after Change-Id: I41fb7611030dd3ba824f896a9c9eadbdd218f464
Diffstat (limited to 'tools/warn/tidy_warn_patterns.py')
0 files changed, 0 insertions, 0 deletions