diff options
author | Greg Estren <gregce@google.com> | 2016-09-29 18:44:03 +0000 |
---|---|---|
committer | Yun Peng <pcloudy@google.com> | 2016-09-30 08:13:21 +0000 |
commit | 13a73e420acf83d888e86dea4d726f5c59587858 (patch) | |
tree | 89a1f02d1018e031489bf8d0a35b6c6381438230 /examples/py_native | |
parent | ead58ae8e17257eabf91f512b64da4f85dbe06a1 (diff) |
Lazily evaluate hash codes for ConfiguredTargetFunction#AttributeAndLabel.
Profiling shows this shaves off 8% of getDynamicConfigurations' CPU time.
And brings down AttributeAndLabel instantiation from 30% of that time to 24%.
Over a simple cc_binary, this reduces the number of Objects.hash calls
by 96%.
--
MOS_MIGRATED_REVID=134687748
Diffstat (limited to 'examples/py_native')
0 files changed, 0 insertions, 0 deletions