CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 3 of 3
  1. #1
    Join Date
    Nov 1998
    Posts
    2

    Replace VB's InStr with a Function





    In the application I am developing, time and speed are very

    important.


    In the analysis we have conducted, we found that VB's InStr

    is considerably slow.


    I would like to know if anyone has written a function that

    does the same thing as VB's InStr but faster?


    Thank you,

    and please forward me any information concerning this matter at

    [email protected]





    The Vienna Project Group

  2. #2
    Join Date
    Apr 1999
    Posts
    16

    Re: Replace VB's InStr with a Function



    All of VB's string functions are slow. However, I heard they improved them in VB6. Are you using version 6 (I would be interested to know if they are still slow)?


    -Jim

  3. #3
    Join Date
    Apr 1999
    Location
    Rotterdam, Netherlands
    Posts
    278

    Re: Replace VB's InStr with a Function



    I'm using VB 6, and like most things speed has improved some, but it still is quite slow...

    If you want real speed, maybe it's an idea to write a dll in C++ with your own functions.... that will speed it up...

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

Featured