http://www.perlmonks.org?node_id=840589


in reply to Re: Quicker way to compare these 2 strings?
in thread Quicker way to compare these 2 strings?

I don't know if it would be faster, ... Maybe some interpreter monk knows the answer to that.
No need to have intimate knowledge of the interpreter when the OP can just Benchmark the split solution versus your fine substr solution, using representative strings.
  • Comment on Re^2: Quicker way to compare these 2 strings? (Benchmark)