go ahead... be a heretic | |
PerlMonks |
Re^3: Benchmark, -s versus schwartzianby ambrus (Abbot) |
on Aug 23, 2004 at 08:20 UTC ( [id://385024]=note: print w/replies, xml ) | Need Help?? |
This still does not explain the original results. I think that even with the glob in the loop, the Schwartzian transform should be faster. (I couldn't reproduce those results, the Schwartzian was faster for me even with your original code.) One thing, If I used "/usr/bin" or any other path with a '/' in the middle it went haywire. That's wierd.
In Section
Seekers of Perl Wisdom
|
|