Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number

Re^4: Fast parsing for cypher block chaining

by ikegami (Pope)
on Feb 28, 2006 at 18:41 UTC ( #533454=note: print w/replies, xml ) Need Help??

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

In the first snippet, you should move the print into the loop to avoid using gigabytes of memory. That seemed to be the point of the OP's buffering.
$/ = \8; # Read 8-byte records. Behind the scenes, Perl will do buffer +ing of reads. print OUTFILE blowfishify($_) while <INFILE>;

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://533454]
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others avoiding work at the Monastery: (11)
As of 2017-07-21 13:59 GMT
Find Nodes?
    Voting Booth?
    I came, I saw, I ...

    Results (324 votes). Check out past polls.