Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

Re^3: How does the while works in case of Filehandle when reading a gigantic file in Perl

by raj4489 (Acolyte)
on Feb 06, 2015 at 12:36 UTC ( [id://1115777]=note: print w/replies, xml ) Need Help??


in reply to Re^2: How does the while works in case of Filehandle when reading a gigantic file in Perl
in thread How does the while works in case of Filehandle when reading a gigantic file in Perl

I have checked the timings for all the steps individually, and no step in the while loop takes anymore time (it remains constant). But only when getting in the while, the time keeps on increasing for every new line.

  • Comment on Re^3: How does the while works in case of Filehandle when reading a gigantic file in Perl

Replies are listed 'Best First'.
Re^4: How does the while works in case of Filehandle when reading a gigantic file in Perl
by CountZero (Bishop) on Feb 06, 2015 at 19:45 UTC
    Did you try the solution I suggested?

    CountZero

    A program should be light and agile, its subroutines connected like a string of pearls. The spirit and intent of the program should be retained throughout. There should be neither too little or too much, neither needless loops nor useless variables, neither lack of structure nor overwhelming rigidity." - The Tao of Programming, 4.1 - Geoffrey James

    My blog: Imperial Deltronics

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others having an uproarious good time at the Monastery: (6)
As of 2024-04-23 12:16 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found