commit | dd2d7b36e786cc606aa340adf000784072361f18 | [log] [tgz] |
---|---|---|
author | Yurii Zubrytskyi <zyy@google.com> | Mon Dec 16 18:42:34 2024 -0800 |
committer | Yurii Zubrytskyi <zyy@google.com> | Mon Dec 16 18:42:34 2024 -0800 |
tree | 6184cd73726749902f5fb6a78232a3185606be4c | |
parent | 09429c7d24cc423d4fe99dad6fe2c92bf3ec2a30 [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