commit | 1e6cb63d77090ddc6aa19c755d7066f66e9ff87e | [log] [tgz] |
---|---|---|
author | Vladimir Marko <vmarko@google.com> | Thu Nov 28 16:27:29 2013 +0000 |
committer | Vladimir Marko <vmarko@google.com> | Fri Nov 29 10:14:39 2013 +0000 |
tree | 7cffe82e563757521da204c5dfbd3fff41dde7ed | |
parent | 00ce185371be9930dfd75e5acc2258a1139b558e [diff] |
Delta-encoding of mapping tables. Both PC offsets and dalvik offsets are delta-encoded. Since PC offsets are increasing, the deltas are then compressed as unsigned LEB128. Dalvik offsets are not monotonic, so their deltas are compressed as signed LEB128. This reduces the size of the mapping tables by about 30% on average, 25% from the PC offset and 5% from the dalvik offset delta encoding. Bug: 9437697 Change-Id: I600ab9c22dec178088d4947a811cca3bc8bd4cf4