From: | Curt Esser |
Date: | 3 Aug 2000 at 23:00:10 |
Subject: | Re: String Constants |
Hi,
----- Original Message -----
From: "Ralf Berkvens" <ralf@ilse.nl>
> > On Wed, 02 Aug 2000 12:42:14 +0000 David McMinn said:
> > > Tony Rolfe's head burst.
> > > > 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.
> 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.
And I would imagine that the same bit of code is used for all the string
declarations in your program, rather than adding it again for each string
you define. Did you test for that?
> Anyway, just my 2 cents, or pennies, or pfennigs or something :)
>
> Ralf
And mine ;)
Later.....
Curt Esser
camge@amigaonline.net
http://members.tripod.com/~DoctorPix/ (Pictures)
http://members.xoom.com/Curt_Esser/ (Amiga stuff)
It is a wonder that curiosity survives a formal education. -- A. Einstein
---------------------------------------------------------------------
To unsubscribe, e-mail: blitz-list-unsubscribe@netsoc.ucd.ie
For additional commands, e-mail: blitz-list-help@netsoc.ucd.ie