afe55106e5
By caching flag values directly in member variables instead of caching a HashMap and accessing that, flag reads avoid `hashCode()`, map lookup, and Boolean.parse runtime costs. Flag reads are turning out to have performance problems in hot paths, so this should help to alleviate that. Bug: 309625014 Test: m Change-Id: I923bf6af2ae3fcbbf2fee7126b492a47cd6049ad |
||
---|---|---|
.. | ||
fake_device_config | ||
overrideflags | ||
printflags | ||
protos | ||
src | ||
templates | ||
tests | ||
.gitignore | ||
Android.bp | ||
build.rs | ||
Cargo.toml | ||
MODULE_LICENSE_APACHE2 | ||
OWNERS | ||
PREUPLOAD.cfg | ||
rustfmt.toml | ||
TEST_MAPPING |