HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

String leakage?

09-17-2004, 01:02 AM#1
Stinky_Pooh
I was reading another thread here, and it occured to me, that based on what it said, concatanation causes leaks? this is horrible. i use multiboards regularly, and concatonate inside a loop sometimes, or on repeating triggers.... does this mean that this could f up my game?
09-17-2004, 10:12 AM#2
Cubasis
Yes, strings leak.

However, they're not really all that much of a concern unless you're doing intense string-work, like working with save-codes or creating alot of long different strings.

In theory. If you create 1000 (different, remember) strings with a size of 10 f.ex. Then you should only leak 10 kb. And that's alot of strings. Although since we're talking about Blizzard and their wacky code, it's likely more like 50 kb or 100 kb. But nonetheless. It's a insignificant leak most of the time.

Unlike handle leakage... that's the leaks you should worry about. Always destroy your locations/groups. They can sum up VERY quickly.

~Cubasis