Please check this Interpreting Benchmark's "cmpthese" and "timethese"
especially Re^3: Interpreting Benchmark 'cmpthese' and 'timethese' (time) by tye
Can someone please help me to understand why is Split faster than using $INPUT_RECORD_SEPARATOR.
Profiling each of the solution, using Devel::NYTProf may also help.
Hope this helps
If you show me, I'll remember.
if you involve me, I'll understand.
--- Author unknown to me