[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 03:12:25 CEST

On Thu, May 09, 2002 at 07:50:38PM -0500, cmpilato@collab.net wrote:
> > Oh... and why bother with base64? To keep the keys shorter in the DB? That
> > seems rather obscure. When debugging, I think it will be much nicer for the
> > humans to just use a plain old integer.
> Consistency with the representations and strings tables would be my
> reason. The revision keys are the only user-visible keys (node keys,
> rep keys, strings keys, and txn ids are not), so those can stay
> numeric. In fact, we could make the nodeIDs be base64 as well, now
> that I think about it.

Why? Why convert them to base64? Why not keep them *all* as integers? You're
working with integers, so keep them that way; otherwise, people will wonder
WTF those weird character sequence are, go to dig, and then go "oh. that's
it? just integers. damn them for wasting my time."


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 03:10:56 2002

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.