commit | fd04b6f89238af5da682805aa11899639fb4ee07 | [log] [tgz] |
---|---|---|
author | Mathieu Chartier <mathieuc@google.com> | Fri Nov 14 19:34:18 2014 -0800 |
committer | Mathieu Chartier <mathieuc@google.com> | Mon Nov 17 14:43:21 2014 -0800 |
tree | e1c2fc7eed43c7d644003c6cc3ec7311624a3dfe | |
parent | d777112c261696f60536c1b9cd2a407722a90137 [diff] |
Combine image string char arrays into single array Having one giant char array shared between all the strings saves memory since it avoids the 12 bytes of array overhead per image string. Also added substring finding based on prefixes, strings are added into the array in reverse sorted length. Image size goes from 11767808 -> 11100160. Bug: 17643507 Change-Id: I2a7f177b40d0458d5c50640643d8f16b0030bdce (cherry picked from commit 23c1d0ca7ab63f4adad88631bddefb769d0dcc2c)