Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

Re: The joys of bad code

by TomDLux (Vicar)
on Oct 26, 2004 at 15:39 UTC ( [id://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

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others wandering the Monastery: (4)
As of 2024-04-19 14:07 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found