[PATCH] delta_files() speedup 2/3: keyword substitution
From: Stefan Fuhrmann <stefanfuhrmann_at_alice-dsl.de>
Date: Sun, 28 Mar 2010 14:50:38 +0200
Hi devs,
this is part of the delta_files() speedup patch series:
translate_chunk spends most of its time in a loop
It is much more efficient to use a simple lookup table
Performance gain is ~9%:
s~$ time ~/1.7-928181/svn export --ignore-externals -q $REPO/trunk /dev/shm/t
~$ time ~/1.7-patched/svn export --ignore-externals -q $REPO/trunk /dev/shm/t
-- Stefan^2.
[[[
* subversion/libsvn_subr/subst.c
patch by stefanfuhrmann < at > alice-dsl.de
|
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.