README.md

December 4, 2022 ยท View on GitHub

SpeedString concatenation

Description

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.

More Info

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.

Submitted On2001-11-02 16:24:54
ByRobin Schuil
LevelAdvanced
User Rating5.0 (55 globes from 11 users)
CompatibilityVB 5.0, VB 6.0, ASP (Active Server Pages)
CategoryString Manipulation
WorldVisual Basic
Archive FileSpeedStrin328101122001.zip

API Declarations

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