From: | David McMinn |
Date: | 2 Aug 2000 at 13:42:14 |
Subject: | Re: String Constants |
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.
What that does though is frees the memory for the previous string, allocates
some new memory and copies the string into the memory for the variable. Daves
idea of a "CludgeString" command would be OK as long as you remembered to
unitialise the string before you let Blitz free it.
Bye
---------------------------------------------------------------------
To unsubscribe, e-mail: blitz-list-unsubscribe@netsoc.ucd.ie
For additional commands, e-mail: blitz-list-help@netsoc.ucd.ie