SpeedString concatenation
![Visual Basic 6, or VB Classic Visual Basic 6, or VB Classic](https://www.fortypoundhead.com//assets/img/icons/v7/vb6.png)
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
Inputs
Syntax: SpeedString.Append StringValue, [StringLength]
The length is optional. Note that it also provides a faster method for the LEFT method.
Returns
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: 94 times
Categories
Attachments
SpeedStrin328101122001.zip
Posted: 9/3/2020 3:45:00 PM
Size: 17,704 bytes
Loading Comments ...
Comments
No comments have been added for this post.
You must be logged in to make a comment.