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