[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: Beginnings of python script for annotate

From: Branko Čibej <brane_at_xbc.nu>
Date: 2002-08-13 22:26:27 CEST

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. :-)

-- 
Brane Čibej   <brane_at_xbc.nu>   http://www.xbc.nu/brane/
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Tue Aug 13 22:28:22 2002

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.