in reply to Re^2: How to speed up multiple regex in a loop for a big data?
in thread How to speed up multiple regex in a loop for a big data?
Hey, you're right!
I was about to example a case for partial keys getting substituted, but then I realized the keys are wrapped in word boundries, so there's no chance of partial key substitution, and no reason to sort.
Drop the sort and save some time.