Blitz (8/193)

From:Ralf Berkvens
Date:3 Aug 2000 at 08:50:46
Subject:Re: String Constants

> On Wed, 02 Aug 2000 12:42:14 +0000 David McMinn said:
> > Tony Rolfe's head burst.
> > All we could scrape off the wall was Re: String Constants.
> >
> > > I was just looking at my initialization code (where I define a couple
> > > of hundred string variables) and discovered that a simple a$ = "a"
> > > type command takes 10 lines of ASM including 2 JSR instructions.
> > > Seemed like a pretty huge overhead so I was trying to eliminate it.
> >
> Fred dc.b "A Constant",0
>
> and then reference it with Peek.s(?Fred), but it doesn't seem
> worthwhile.

Actually there is probably a rather good reason for it being this way. It seems
to me (although I am very not 100% sure :) that they kind of made general code
that could set value for multiple types of object, all in the same way so that
adding an object type isn't going to be difficult later on.

Not that I have any clue as to what kind of oject that might be mind you :)

Anyway, just my 2 cents, or pennies, or pfennigs or something :)

Ralf



ilse, de site voor Nederland tel. 040 750 31 00
Ralf Berkvens fax: 040 750 31 99
ralf@ilse.nl mobiel: [geen]
http://www.ilse.nl/ bekijk ook: http://carriere.ilse.nl/

---------------------------------------------------------------------
To unsubscribe, e-mail: blitz-list-unsubscribe@netsoc.ucd.ie
For additional commands, e-mail: blitz-list-help@netsoc.ucd.ie