[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [equinox-dev] new delta algorithm and tests

Yes, I can have a look at ´optimizing´ what we now have now. Which day did you mean with ´tomorrow´? If have already a few starting points, let´share them.
However, I am fighting currently with https://bugs.eclipse.org/bugs/show_bug.cgi?id=209233. I would like to have that solved before I start refactoring.

Stefan


Jeff McAffer wrote:

I integrated a simplistic JAR delta optimizer and processor with Stefan's JBdiff stuff and added some tests.  More is needed in the area but this delta is based on comparisons of JAR entries.  The delta is encoded as a JAR containing the changes from the base.   Whole entries that changed are included in the delta.  This is very simple / efficient to compute but will likely produce larger deltas than jbdiff.  Note that since the delta is just  JAR of class files, it too can be packed! ;-)  Anyway, I also enhanced the tests.

One thing that remains is to unify the code.  Turns out that the pack200, jardelta and jbdiff optimizers, processors and tests have a ton of duplicated code.  Much of it is fussy stuff like making sure that streams are closed etc.  This should all be shared.  Stefan, you might want to take a stab at this?  Or I can look at it tomorrow...

Jeff

_______________________________________________ equinox-dev mailing list equinox-dev@xxxxxxxxxxx https://dev.eclipse.org/mailman/listinfo/equinox-dev