summaryrefslogtreecommitdiff
path: root/test/default_run.py
diff options
context:
space:
mode:
author Nicolas Geoffray <ngeoffray@google.com> 2022-11-02 10:26:30 +0000
committer Nicolas Geoffray <ngeoffray@google.com> 2022-11-03 13:28:43 +0000
commitb317e651e9b9600029241ccb68e21ac05597cfe6 (patch)
tree2fae5112181fd48dfd3ff38ca26049ed35d576d2 /test/default_run.py
parente19d74b51ad8efd43c1583887cbde123ae769f7b (diff)
Optimistically update field and method cache on type update.
To save on future lookups, update the method and field caches as soon as we update the type cache, when the type has the same dex cache, and the dex cache is using full arrays. This saves the number of lookup of maps startup by ~30% (2100 -> 1500). Test: test.py Change-Id: I4cb708a04fb491fe65a75412bb2a8b9306e81f78
Diffstat (limited to 'test/default_run.py')
0 files changed, 0 insertions, 0 deletions