Ad
  • Default User Avatar

    This comment is hidden because it contains spoiler information about the solution

  • Default User Avatar

    benchmarking is the only way to find that out.

    I think a solution for maximum performance would look quite different and would be significantlyfaster (10x to 20x faster i would totally guess). Usually regular expressions are only faster if your programming language is not so performance (like early perl/php implementations I guess).