|
-
Aug 17th, 2013, 10:29 PM
#22
Re: Passing Array of Strings Between ViB and C
 Originally Posted by Schmidt
(in this case there'd be a lot of things one can do with regards to fast string-processing directly in VB6,
which will perhaps beat what you currently have in VC++)
Generally speaking there's not a chance in hell. In her case though you may be right since she is still dealing with BSTRs on the C++ side but you can write string processing functions in C++ that is faster by great magnitudes than even the best VB6 equivalent. I once wrote a parser in VB6 which I needed to parse large texts on every keystroke in order to facilitate a VB-like IDE. When I loaded a file of a size like a 100 KBs or so, the IDE would slow down tremendously. I mean like every keystroke would cause something like a 6 second delay. I re-wrote the parser in C++ and exported it through functions and it could now process texts well up to 500 KBs in milliseconds. The problem with string processing in VB6 is immutability. This limits efficiency.
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
|