|
-
Nov 18th, 2017, 10:27 AM
#11
Re: [VB6] StringBuilder - Fast string concatenation
Thanks, wqweto and Olaf. Nice tests.
The RC5-SB (using Mid$) being about factor 4 faster on my machine (for such larger outputs).
It's because of too frequent reallocations. For such large data, initial Chunk increasing size in VolteFace's SB should be adjusted to ~ like 10 MB (Const CHUNK_SIZE = 10485760).
In such case above test returns on my machine in compiled mode:
SB1 Dragokas 568,67msec 49845014
SB2 RichClient 610,79msec 49845014
SB3 Collection 407,87msec 49645012
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|