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

Re: svn commit: r1127646 - in /subversion/trunk/subversion: svnrdump/load_editor.c tests/cmdline/svnrdump_tests.py

From: C. Michael Pilato <cmpilato_at_collab.net>
Date: Wed, 25 May 2011 16:08:51 -0400

On 05/25/2011 04:05 PM, C. Michael Pilato wrote:
> On 05/25/2011 03:49 PM, Greg Stein wrote:
>> On Wed, May 25, 2011 at 15:33, <cmpilato_at_apache.org> wrote:
>>> ...
>>> + /* A mapping of svn_revnum_t * dump stream revisions to their
>>> + corresponding svn_revnum_t * target repository revisions. */
>>> + apr_hash_t *rev_map;
>>
>> How big can this grow? ie. what happens when there are several million
>> revisions.
>
> It gets big. (This logic and approach are copied from 'svnadmin load',
> which doesn't excuse it, but might explain it.)

Actually, I don't really know for sure how big it gets. It's a mapping of
of sizeof(svn_revnum_t) to sizeof(svn_revnum_t), plus all the hash
internals. Anybody have any guesses?

-- 
C. Michael Pilato <cmpilato_at_collab.net>
CollabNet   <>   www.collab.net   <>   Distributed Development On Demand

Received on 2011-05-25 22:09:20 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.