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

Re: svn commit: rev 7163 - trunk/subversion/libsvn_fs

From: C.Michael Pilato <cmpilato_at_collab.net>
Date: 2003-09-23 22:56:31 CEST

cmpilato@tigris.org writes:

> Author: cmpilato
> Date: Tue Sep 23 15:27:38 2003
> New Revision: 7163
>
> Modified:
> trunk/subversion/libsvn_fs/dag.c
> trunk/subversion/libsvn_fs/dag.h
> trunk/subversion/libsvn_fs/tree.c
> Log:
> Implement filesystem DAG node caching (currently only under revision
> roots). Checkout tests performed by myself and Karl show that,
> timewise, this can shave 20% off the user times, but more importantly,
> reduces the number of operations per Berkeley transaction in a manner
> proportional to the depth of the tree. A Greek tree, for example, was
> reduced from 9.52 ops/txn to 4.45 ops/txn. Quite nice, eh?

Yep. It would be quite nice if I had actually any clue about writing
expirable caching. Thank you, Ben, for kindly pointing out that I'm
an idiot.

Using memmove() instead of a moving pointer...
Never freeing cache items...
Sheesh.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Tue Sep 23 22:58:04 2003

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.