summaryrefslogtreecommitdiff
path: root/libs/rs/rsg_ScriptJavaClass.cpp
diff options
context:
space:
mode:
authorKenny Root <kroot@google.com>2010-09-03 16:02:27 -0700
committerKenny Root <kroot@google.com>2010-09-03 16:02:27 -0700
commitde0ff63700c1836771d797e6c7340b18cb814484 (patch)
treebfee5ff5b0333749a5908ca900b3cbfe5ee1a39d /libs/rs/rsg_ScriptJavaClass.cpp
parentd85621c938286a568b1173e7ab29f80ab93d27e1 (diff)
Reduce footprint of Signature from ~7000 to ~1448
Signature had lazy initialization of the mString member when needed, but it would stick around forever when initialized. Each package had one or more Signatures that would be ~7000 bytes each. At a couple hundred packages, that's over 1.3MB just for signatures. Whenever packages.xml was written out, it would write the Signature for each program as well which happens at boot thereby initializing the mString member pretty much immediately. Change-Id: Idb882ffeca2861b3e87437fc83f001710d6c0441
Diffstat (limited to 'libs/rs/rsg_ScriptJavaClass.cpp')
0 files changed, 0 insertions, 0 deletions