summaryrefslogtreecommitdiff
path: root/tools/cpplint.py
diff options
context:
space:
mode:
author Vladimir Marko <vmarko@google.com> 2013-11-28 16:27:29 +0000
committer Vladimir Marko <vmarko@google.com> 2013-11-29 10:14:39 +0000
commit1e6cb63d77090ddc6aa19c755d7066f66e9ff87e (patch)
tree7cffe82e563757521da204c5dfbd3fff41dde7ed /tools/cpplint.py
parent00ce185371be9930dfd75e5acc2258a1139b558e (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
Diffstat (limited to 'tools/cpplint.py')
0 files changed, 0 insertions, 0 deletions