Open samuelcolvin opened 6 years ago
Merging #3 into master will not change coverage. The diff coverage is
n/a
.
@@ Coverage Diff @@
## master #3 +/- ##
=====================================
Coverage 100% 100%
=====================================
Files 3 2 -1
Lines 44 42 -2
=====================================
- Hits 44 42 -2
Hi! Have you pushed this change to PyPI ? I installed xdelta3 from there and it still produces an error. I checked the installed files and _xdelta3.c contains old version of code, from before the fix.
Example strings that reproduce the error:
a = b'wonderful string to demonstrate xdelta3, much of these two strings is the same.'
b = b'diff string to demonstrate xdelta3, 888888888888888888888888888888888888888888888888888888888888 much of these two strings is the same.'
BTW, in this example, delta is very short despite many 8's inserted. Do you detect repetitions and compress them somehow, in addition to making plain diff comparison?
This isn't on pypi
BTW, in this example, delta is very short despite many 8's inserted. Do you detect repetitions and compress them somehow, in addition to making plain diff comparison?
This repo is just a wrapper around xdelta, have a look there for details on how the delta encoding works.
fix #2