commit | 23c1d0ca7ab63f4adad88631bddefb769d0dcc2c | [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 11:38:06 2014 -0800 |
tree | 000d40d0d9d479dcbaf0f6fc42b731ceaa99bd3e | |
parent | a477bbb62ba197815d840d07708526a2bb9c8b4d [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