in reply to How to make this perl version of "du" faster?

Install a decent profiler and run it on your code. Identify the hotspots. Optimize them.

See also: perlperf.

Perl 6 - links to (nearly) everything that is Perl 6.
  • Comment on Re: How to make this perl version of "du" faster?