home *** CD-ROM | disk | FTP | other *** search
/ Planet Source Code Jumbo …e CD Visual Basic 1 to 7 / 3_2004-2005.ISO / Data / Pictures / pic2004342132416753.jpg < prev    next >
Joint Photographic Experts Group Image  |  2004-03-04  |  56KB  |  452x337  |  16-bit (1,800 colors)
Labels: bulletin board | dialog box | earth | monitor | sky | window
OCR: Replace Compile W the optimizations described the top of this for best results. Remember that the delimiters are set space, so whole Moors only are replaced Original: This stringThis THIS string This VB's Replace Replaced 25 stringReplaced Replaced is string. Replaced This Replace: Replaced stringThis Replaced string. Replaced VB's Replace For original appended 100000x replaced 100x row: 278 51873967 72221 This Replace For original appended 100000x replaced 100X eu! row: 10 405900191 12254 I compiled this program to native code without any compiler optimizations and ran test loop of 100 iterations for each replace function on 10.5 megabyte string with 330 1,000 replacements on each call VB took over minutes while mine qot done in ten seconds. That's over 30 million replacements in ten seco ...