Results 1 to 40 of 54

Thread: [VB6] Faster Split & Join (development)

Threaded View

  1. #1

    Thread Starter
    VB6, XHTML & CSS hobbyist Merri's Avatar
    Join Date
    Oct 2002
    Location
    Finland
    Posts
    6,654

    [VB6] Faster Split & Join (development)

    Old short QuickSplit versions in post #11.

    Strings.Split
    This is an optimized code using advanced methods for providing a "no external files" solution using a single BAS module file. No TLB, no DLL.

    There is many advantages:
    • 100% syntax compatible with native Split: just add the module to your project and you have a faster Split!1)
    • Faster with any possible call! Be the output empty array, empty strings, one array item only, short strings, mid length strings, long strings, this Split is always faster.
    • BinaryCompare for ultimate speed (InStrB), CharacterCompare for possible problems with some special case characters (InStr). InStrB is always faster than native Split; InStr version is faster or rougly equal depending on case.

    1) TextCompare not supported, you can call VBA.Split for TextCompare. Adding support for TextCompare is too complex as it might require analyzing the entire Unicode character map.
    Attached Images Attached Images     
    Attached Files Attached Files
    Last edited by Merri; Jun 14th, 2010 at 12:30 PM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width