summaryrefslogtreecommitdiff
path: root/tools/aapt2/Debug.cpp
diff options
context:
space:
mode:
author Yurii Zubrytskyi <zyy@google.com> 2024-12-16 18:42:34 -0800
committer Yurii Zubrytskyi <zyy@google.com> 2024-12-16 18:42:34 -0800
commitdd2d7b36e786cc606aa340adf000784072361f18 (patch)
tree6184cd73726749902f5fb6a78232a3185606be4c /tools/aapt2/Debug.cpp
parent09429c7d24cc423d4fe99dad6fe2c92bf3ec2a30 (diff)
[res] Make type iteration more efficient in aapt2
The iterator type that is only used in aapt2 currently used to perform a binary search for every dereferencing call of a sparse type table, while it knows for sure the position of the next element in constant time. + Add a test for a sparse type iteration Test: atest libandroidfw_tests Flag: EXEMPT bugfix / refactor Change-Id: I70f74b1a1cfb4deffd1592a87c31501388eaf46c
Diffstat (limited to 'tools/aapt2/Debug.cpp')
0 files changed, 0 insertions, 0 deletions