Click to See Complete Forum and Search --> : Replace VB's InStr with a Function


Vienna
November 21st, 1998, 04:31 AM
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

viennaproject@netscape.net





The Vienna Project Group

James Grant
November 27th, 1998, 11:02 AM
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

Crazy D
November 30th, 1998, 02:24 AM
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...