commit | 10df267c94a8f1693634e9245f7f1e7f5238ee87 | [log] [tgz] |
---|---|---|
author | Sen Jiang <senj@google.com> | Wed Jan 18 17:43:51 2017 -0800 |
committer | Sen Jiang <senj@google.com> | Wed Jan 18 17:47:49 2017 -0800 |
tree | 3569f8f7432178601a3dd031002e1ff3d518dc81 | |
parent | d355a6343e3e8739413af2724dac8c9a2aa6ddf1 [diff] |
Support caching the suffix array. If the same old data is passed to bsdiff repeatedly, allow caller to cache the suffix array, this is used by imgdiff in zip mode. Bug: 34281147 Test: =time -v imgdiff -z Chrome-ORF74B.apk Chrome-ORF76B.apk Chrome.imgdiff Change-Id: I0a69fc2d0b1a0d5791f78d0380df957981318daa