Here is the new test program. The new test program uses Olaf's better and more accurate regular expression patterns,
Olaf's regular expression patterns not only improves the performance of RC5.ActiveScript, but also improves the performance of VBScript.RegExp. Now, the performance difference between RC5.ActiveScript and VBScript.RegExp is very small.
But it is strange that the speed of jpbro's method is reduced by 3 times after using the new regular expression patterns.
Code:VBScript----RegExp: 7,939.62msec Olaf--ActiveScript: 11,237.48msec (JScript9) Olaf--ActiveScript: 8,664.79msec (JScript) jpbro------VBPCRE2: 11,601.61msec wqweto---------PEG: 6,488.98msec




Reply With Quote