Richard Gaskin wrote:

I hope I didn't give the impression that "repeat for each" is always faster than RegEx.

No, not at all.

The trick is finding the precise dividing line, the code complexity/data complexity/depth ratio that benefits one method over another. If there was a quantified formula for that it would be handy; anyone have a few days available to craft the tests which would give us that ratio? :)


I don't think a ratio can be accurately determined. Every set of data is different. It depends not only on how many regex matches there are, but the position of each match in every line and in some cases the complexity of the match (more complex matches go faster with regex.) It is so variable that I would be very surprised if a set of rules could be determined.

--
Jacqueline Landman Gay         |     [EMAIL PROTECTED]
HyperActive Software           |     http://www.hyperactivesw.com
_______________________________________________
use-revolution mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution

Reply via email to