in reply to Increasing CPU Usage/Decreasing Run Time

I don't know why no one mentioned this - but maybe you're using wrong code?

Just a though ... but if you literally translated from VB to Perl it's probably not optimised for Perl way of doing things ...

  • Comment on Re: Increasing CPU Usage/Decreasing Run Time

Replies are listed 'Best First'.
Re^2: Increasing CPU Usage/Decreasing Run Time
by CountZero (Bishop) on Jul 26, 2005 at 19:43 UTC
    But that wouldn't explain the low CPU usage, would it?

    CountZero

    "If you have four groups working on a compiler, you'll get a 4-pass compiler." - Conway's Law

      Well honestly I don't know. Computers are strange little boxes - and with them (even more than with other things) - the more you know about them, the more you realise how little you know.

      Maybe Perl itself is so optimized :) Just kidding of course. Unfortunately I (still) don't have much experience with code benchmarking - so I wrote that as just an idea ... a different point of view on the problem.