Add two additional offsets while trying to create a patch 39/272239/1 accepted/tizen/unified/20220313.205625 submit/tizen/20220311.163642
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>
Fri, 11 Mar 2022 14:54:39 +0000 (15:54 +0100)
commite8b2d199148cc311fc42c0f9cb4fe39ef5257e23
treea3f136ba723ad0a696fa472331be13fada4e9366
parent1916473d1d572b3ef4735b00da21b24fac550b8e
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