Add two additional offsets while trying to create a patch 99/272099/4
authorMateusz Moscicki <m.moscicki2@partner.samsung.com>
Tue, 8 Mar 2022 10:52:32 +0000 (11:52 +0100)
committerMateusz Moscicki <m.moscicki2@partner.samsung.com>
Thu, 10 Mar 2022 14:43:25 +0000 (15:43 +0100)
commita76b9c2f8a2c9ec47e9847dd3283f200526ba00e
treeae5d444d35833bd5e4d7704a1d6fde38660f3b7c
parentd9122505334bf1a376bec4407aefaa402a383307
Add two additional offsets while trying to create a patch

Creating a patch with an offset score equal to 8 may take too long. On
the other hand for a value of 2 the resulting patch will consist of
multiple blocks, which can significantly increase the application time.
Therefore this commit adds two intermediate steps as a compromise
solution.

Change-Id: Id90beba4c4c89e20fb5f377f1499fb308e9f36a1
bsdiff/ss_bsdiff.c