Yes I did read that and had heard it before. I was assuming you
might be referring to some other great and mysterious truth! <g>
from Robert Meek dba Tangentals Design CCopyright 2006
"When I examine myself and my methods of thought, I come to the conclusion
that the gift of Fantasy has meant more to me then my talent for absorbing
positive knowledge!"
Albert Einstein
-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf
Of Rob Kennedy
Sent: Sunday, March 05, 2006 8:53 PM
To: Borland's Delphi Discussion List
Subject: Re: Objects and Lists...addendum
Robert Meek wrote:
> You said below: "You know the admonition about increasing a
> string's length by one
> character at a time? The same goes for dynamic arrays."
> But no, I don't believe I ever heard about that?
I'm sure you have. It was just a topic over on Delphi-Talk this weekend,
for instance. Each time you change a string's length, you force a new
memory allocation and a copy of the old string into the new one. This
can lead to memory fragmentation, and it can also waste time.
--
Rob
_______________________________________________
Delphi mailing list -> [email protected]
http://www.elists.org/mailman/listinfo/delphi
_______________________________________________
Delphi mailing list -> [email protected]
http://www.elists.org/mailman/listinfo/delphi