summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ProgramVertexFixedFunction.java
diff options
context:
space:
mode:
authorJeff Sharkey <jsharkey@android.com>2021-01-19 10:41:46 -0700
committerJeff Sharkey <jsharkey@android.com>2021-01-19 10:41:48 -0700
commitf52551d99cd8686e9e7a1ec726f7d7eebc4a060e (patch)
tree762a5ac23182db43bbd0fe1dd32fda86ea733d06 /rs/java/android/renderscript/ProgramVertexFixedFunction.java
parent9e87dd24822d7cc29926cb5c7aedf90912bbc8ab (diff)
Intern package names in AppOps historical data.
AppOps historical data contains many repeated packages names stored in attribute values, increasing disk space and reading/writing time. This change makes a trivial adjustment to write these package names as "interned" values gives the serializer the option of writing the package name once and then using a lightweight backreference for all future instances. Existing benchmarks show substantial CPU and disk improvements when interning is enabled. Bug: 171832118 Test: atest FrameworksServicesTests Change-Id: I6d4a01e13caaf294aa6e015c528b909163dcae10
Diffstat (limited to 'rs/java/android/renderscript/ProgramVertexFixedFunction.java')
0 files changed, 0 insertions, 0 deletions