http://qs1969.pair.com?node_id=1162097


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.
  • Comment on Re^4: Remove double bracket and singe quotes