Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
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 cooling their heels in the Monastery: (17)
As of 2015-07-30 15:29 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (272 votes), past polls