Philip Martin <phi...@codematters.co.uk> writes:
> Again, 1.10 would be nearly twice as fast, but now rereading the authz
> removes most of that gain.
I think I see the underlying problem: the authz code now incorporates a
cache based on the md5 checksum of the rules, so when the rules are
unchanged the cached value can be reused. This cache relies on the
caller being able to pass an svn_repos_t to svn_repos_authz_read3() and,
while svnserve does indeed pass such a pointer, mod_authz_svn is passing
NULL. That means mod_authz_svn does not take advantage of the new authz
Stefan's pool patch helps, but I believe the authz rereading in
mod_authz_svn should be reverted from 1.10 unless we can make it take
advantage of the new authz cache.