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

Re: Maintaining NodeID sanity

From: Greg Stein <gstein_at_lyra.org>
Date: 2002-05-10 23:08:31 CEST

On Fri, May 10, 2002 at 03:52:12PM -0500, Karl Fogel wrote:
> Greg Stein <gstein@lyra.org> writes:
> > Oh. Using base64 (strings) would be a negative system perf change, given the
> > ID comparison pointed out above.
>
> Um, we're talking about reading data from db pages here. I somehow
> doubt that key comparison is a meaningful performance bottleneck.

Oh, it's still moot [because of the I/O], it is just that at a micro level,
using strings rather than integers [in the ID structure] is a negative
impact.

Seriously... the ID structure should be integers. Thus, you would also want
to marshal the IDs into BDB as integers.

Do you have a specific problem with that approach?

Cheers,
-g

-- 
Greg Stein, http://www.lyra.org/
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Fri May 10 23:07:05 2002

This is an archived mail posted to the Subversion Dev mailing list.