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

Re: svn commit: r1353676 - in /subversion/trunk/subversion: include/private/svn_wc_private.h include/svn_ra.h libsvn_client/ra.c libsvn_ra_serf/update.c libsvn_wc/adm_ops.c

From: C. Michael Pilato <cmpilato_at_collab.net>
Date: Mon, 25 Jun 2012 14:09:02 -0400

On 06/25/2012 02:04 PM, Bert Huijben wrote:
> If we want to enable this code in 1.8 we should add an index on the
> md5_checksum in the pristine table with the format bump for 1.8.
>
> Currently the md5 lookup performs a table scan (but is only used from the
> deprecated libsvn_wc commit logic). For that 1.5 million file working
> copy reported today on users_at_s.a.o, this code might be much slower than
> just downloading the files again without an index.

Ewww... yeah, table scan is no good. So what's involved in adding,
populating, and maintaining such a new index?

-- 
C. Michael Pilato <cmpilato_at_collab.net>
CollabNet   <>   www.collab.net   <>   Enterprise Cloud Development

Received on 2012-06-25 20:09:40 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.