Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot

Re^6: Fast parsing for cypher block chaining

by fluffyvoidwarrior (Monk)
on Mar 01, 2006 at 10:25 UTC ( #533610=note: print w/ replies, xml ) Need Help??

in reply to Re^5: Fast parsing for cypher block chaining
in thread Fast parsing for cypher block chaining

Its a snippet of a subroutine timed using the Benchmark module ie
use Benchmark;
my $interval = timeit(1, \&wibble);
where wibble is my subroutine. I'm also MD5 hashing the input and output files before and after my subroutine is called to make sure I'm not outputting garbage and also checking filesize.
Anyway, just by watching a clock I can tell the difference between nearly 10 mins execution and 1.5 mins.
Can anyone rewrite the above code to increase performance by a factor of 5 or more ?
Obviously if the two approches were in the same ballpark I wouldn't bother with the sysread stuff - I'm not trying to complicate things on purpose.

Comment on Re^6: Fast parsing for cypher block chaining

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://533610]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others chanting in the Monastery: (3)
As of 2015-11-27 00:11 GMT
Find Nodes?
    Voting Booth?

    What would be the most significant thing to happen if a rope (or wire) tied the Earth and the Moon together?

    Results (710 votes), past polls