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

Reply via email to