Beefy Boxes and Bandwidth Generously Provided by pair Networks RobOMonk
Problems? Is your data what you think it is?
 
PerlMonks  

Re: The joys of bad code

by TomDLux (Vicar)
on Oct 26, 2004 at 15:39 UTC ( #402647=note: print w/ replies, xml ) Need Help??


in reply to The joys of bad code

At the place I worked last winter, there was code that would read files which were sometimes a million lines long:

my @lines = read_file( ... ); # note copying, rather than passing a re +f for ( @lines ) { .... }
So they read in and copy a million lines, then process it one line at a time.

--
TTTATCGGTCGTTATATAGATGTTTGCA


Comment on Re: The joys of bad code
Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others imbibing at the Monastery: (15)
As of 2014-04-23 18:45 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    April first is:







    Results (553 votes), past polls