[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: Daniel Berlin <dberlin_at_dberlin.org>
Date: 2002-05-14 08:05:45 CEST

On Sun, 12 May 2002, Greg Stein wrote:

> On Sat, May 11, 2002 at 02:54:28PM -0500, Karl Fogel wrote:
> >...
> > +1 on base36 with `const char *'; -1 on integers whatever the
> > marshalling.
>
> well, with a veto on integers, I'll shut up now.

Well, what he says makes no real sense anyway, if it makes you feel
better.

base36 == integers transformed into another base, one that happens to map
nicely onto 0-9,A-Z
They are still integers.

So by saying "-1 on integers whatever the marshalling", he's just
contradicted himself.
Since base36 is integers, with a marshalling that nicely maps onto
the english alphabet + 0-9.
Just cause they *look* like strings doesn't mean they are.
:)

What he really means to say is probably

"+1 on base36 marshalled as A-Z0-9 (through modulo 36) in a const char *;
-1 on integers accessed through integer types, whatever base"

After all, we need to be explicit.

Saying "base36" doesn't mean much, as one
could map base36 onto the words
"
CAT HAT SAT PAT FAT RAT VAT EAT COG DOG
LOG HOG JOG HIT BIT SIT FIT WIT KIT LIT
NIT ZIT BOP LOP ROP TOP NOP POP COP MOP
HOP CAP LAP MAP NAP RAP
"

>
> -g
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Tue May 14 08:29:46 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.