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

Re: [PATCH] Speed-up of libsvn_diff using token counts

From: Daniel Shahaf <d.s_at_daniel.shahaf.name>
Date: Tue, 31 May 2011 13:03:38 +0300

Johan Corveleyn wrote on Tue, May 31, 2011 at 02:53:47 +0200:
> - Take a closer look at measuring the overhead of the token counting.
> Maybe you can also provide some numbers here? I think a good test for
> measuring this in practice is:
> 1. take a very large file
> 2. change a line in the beginning and at the end
> (eliminates prefix/suffix scanning, making sure everything goes to LCS)

That sounds roundabout. -DSUFFIX_LINES_TO_KEEP=0 ?

> 3. diff those two
>
> - Take a closer look at the code. I've skimmed through it, and it
> looked good. But I need to go for a second pass, but right now (almost
> 3 am) I really need to get some sleep first :-).
>
> --
> Johan
Received on 2011-05-31 12:04:28 CEST

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.