On Tue, 13 Aug 2002, [UTF-8] Branko Čibej wrote:
> Karl Fogel wrote:
>
> >Daniel Berlin <dberlin@dberlin.org> writes:
> >
> >
> >>Does all that one needs, except that it's slow.
> >>The reason it's slow is because it uses python's difflib to do the diffs
> >>(I verified this is the large part of the current slowness.
> >>On gdb's dwarf2read.c, where we have a few revisions (8, i think) of the
> >>actual file, and 700 revisions of the repository (that's all i felt like
> >>importing),not doing the diffs takes 3 seconds, doing them takes 20
> >>
> >>
> >
> >Python's difflib re-implements diff, instead of driving a diff
> >subprocess. Maybe these numbers would be somewhat better if we were
> >calling out to a subprocess, though Greg points out that the degree of
> >improvement would be system-dependent.
> >
> >You know what I'm thinking? This might be best solved with C program
> >that uses Sander's internal diff library...
> >
> >
>
> No, it would be best solved by a Python script that uses the SVN
> bindings to drive Sander's diff library from libsvn_delta. :-)
That's basicall what i've done, but i have no diff library to use.
It uses bindings for everything else.
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Wed Aug 14 00:09:57 2002