Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

Re^4: Remove double bracket and singe quotes

by bart (Canon)
on May 03, 2016 at 11:38 UTC ( [id://1162097] : note . print w/replies, xml ) Need Help??


in reply to Re^3: Remove double bracket and singe quotes
in thread Remove double bracket and singe quotes

The first question should be whether 8 seconds is too long in the first place.
That is indeed the question, because those 8 seconds are for testdata of 724MB, that is: a processing speed of about 100MB/second. Since the text would appear to be marked up text from a wiki or similar, I doubt the strings would ever be longer than 30kBytes. And then, the task is done in a fraction of a millisecond.