platform_build/tools/aconfig
Ted Bauer afe55106e5 Cache Java codegen'd flags in static member variables.
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
2023-11-14 12:02:01 -05:00
..
fake_device_config Revert^2 "aconfig: cache flag value in generated java code" 2023-11-01 16:42:31 +00:00
overrideflags overrideflags: change local override list name 2023-10-23 18:19:29 +00:00
printflags printflags: improve protobuf decode error message 2023-10-10 10:12:29 +02:00
protos aconfig: add fixed read only flag 2023-08-24 17:35:18 +00:00
src Cache Java codegen'd flags in static member variables. 2023-11-14 12:02:01 -05:00
templates Cache Java codegen'd flags in static member variables. 2023-11-14 12:02:01 -05:00
tests aconfig: re-enable development with cargo 2023-09-04 13:22:28 +02:00
.gitignore aconfig: add support for cargo 2023-05-03 09:41:11 +02:00
Android.bp Cache Java codegen'd flags in static member variables. 2023-11-14 12:02:01 -05:00
build.rs aconfig: add support for cargo 2023-05-03 09:41:11 +02:00
Cargo.toml Cache Java codegen'd flags in static member variables. 2023-11-14 12:02:01 -05:00
MODULE_LICENSE_APACHE2 aconfig: add project scaffolding 2023-05-02 17:36:30 +02:00
OWNERS aconfig: add project scaffolding 2023-05-02 17:36:30 +02:00
PREUPLOAD.cfg aconfig: add project scaffolding 2023-05-02 17:36:30 +02:00
rustfmt.toml aconfig: add project scaffolding 2023-05-02 17:36:30 +02:00
TEST_MAPPING Create the TEST_MAPPING file 2023-08-21 17:23:14 +08:00