Home  »  Windows  »  Source Code
fast string concatenation 1-0
fast string concatenation 1-0
Authorize : Freeware Free

Requirements : No special requirements

Publisher : NirSoft

OfficeWebsite : http://www.nirsoft.net

OS Support : Windows 2003, XP, 2000, 98, Me

Servers
  • USA
Content
You can concatenate small strings into one big string.
BS Editor: With this class, you can Concatenate small strings into one big String in FASTER way than the standard & OperaTor.
Fast string concatenation
Each time that you use the ampersand (&) operator, Visual Basic allocates memory for the new string and copy the old string into the new string. If you concatenate a lots of small strings into one big string, the operation is quite ineffective because Visual Basic allocates memory, copy, and deallocates memory a lots of times !
You can solve this problem by explicitly allocating big chunks of strings when it needed.
The following class lets you easily and efficiently concatenate strings. It automatically allocates More Space when it needed, in chunks of 1000 characters. You can download the sample project below, and see that string concatenation with this class might be much faster than doing it with ampersand operator. you can free download Fast string concatenation 1.0 now.

Hot Download

New Download