summaryrefslogtreecommitdiff
path: root/tools/aapt/Images.cpp
diff options
context:
space:
mode:
authorJeff Brown <jeffbrown@google.com>2012-03-16 19:25:20 -0700
committerJeff Brown <jeffbrown@google.com>2012-03-16 22:25:15 -0700
commitc9fd9263feedac32e4f5b1f13a3246347efdc25f (patch)
tree034a4002a842eae595f59f5d78d982e6316fb13d /tools/aapt/Images.cpp
parent61361f376b47d45966b1ca0d24d51622304c93c3 (diff)
Use quicksort to sort the string pool.
The current implementation of Vector::sort uses insertion sort on the assumption that the data is mostly sorted. It isn't. This change brings the total time spent sorting packages by config down to 500ms from about 93 seconds. Bug: 6186278 Change-Id: Iec8da11e09297acd6c73733d063b0fa9dacf69f7
Diffstat (limited to 'tools/aapt/Images.cpp')
0 files changed, 0 insertions, 0 deletions