Search Tools Links Login

SpeedString concatenation

The SpeedString class boost performance on string concatenation. Almost every VB developer uses strValue = strValue & NewData as concatenation. The SpeedString class does the same, but a few hunderds times faster (something up to 1000 times).
This project demonstrates the use of my SpeedString class and compares the execution times of both methods.

Original Author: Robin Schuil


Syntax: SpeedString.Append StringValue, [StringLength]
The length is optional. Note that it also provides a faster method for the LEFT method.


Syntax: SpeedString.Data
Returns as string containing the concatenated data.

API Declarations

Private Declare Sub CopyMemory Lib "kernel32" Alias "RtlMoveMemory" (Destination As Any, Source As Any, ByVal Length As Long)

About this post

Posted: 2002-06-01
By: ArchiveBot
Viewed: 79 times


Visual Basic 6

Posted: 9/3/2020 3:45:00 PM
Size: 17,704 bytes

Loading Comments ...


No comments have been added for this post.

You must be logged in to make a comment.