There's more than one way to do things | |
PerlMonks |
Re^3: Faster and more efficient way to read a file verticallyby thanos1983 (Parson) |
on Nov 06, 2017 at 09:43 UTC ( [id://1202806]=note: print w/replies, xml ) | Need Help?? |
Hello karlgoethebier, You are absolutely right. I also read the Benchmark/Optional-Exports where is clearly stated:
This chart is sorted from slowest to fastest, and shows the percent speed difference between each pair of tests. cmpthese can also be passed the data structure that timethese() returns: Thanks for correcting me I will also update my answer. Although to be honest I am kind of impressed how unpack is slower in comparison to substr and split. Thanks again for your time and effort, BR.
Seeking for Perl wisdom...on the process of learning...not there...yet!
In Section
Seekers of Perl Wisdom
|
|