Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

Re: Need to increase the processing speed?

by rjsaulakh (Beadle)
on Jun 29, 2005 at 11:30 UTC ( #470967=note: print w/ replies, xml ) Need Help??


in reply to Need to increase the processing speed?

the first thing is u need to decrease the processing time not increase

opening a file as big as 2 mb can take time so
you can split the files and get them into an array and then pass this array to ur text processing code
hope that helps


Comment on Re: Need to increase the processing speed?
Re^2: Need to increase the processing speed?
by BUU (Prior) on Jun 29, 2005 at 21:58 UTC
    You seem to be confused. Merely opening a file should be constant time, irrelevant of how much space it takes up on the disk.
Re^2: Need to increase the processing speed?
by Anonymous Monk on Jul 24, 2013 at 10:09 UTC
    Hi rjsaulakh, Can you please elaborate the way to split files and get them into an array ?? and passing this array to process code... A necessary code will certainly help. Thanks in Advance, xnavala
Re^2: Need to increase the processing speed?
by Anonymous Monk on Jul 24, 2013 at 10:14 UTC
    Hi rjsaulakh, Can you please help me by giving necessary code in order to split the file and get them into an array and to pass this array to process the code. The file which i am using is an unix file and it contains some 14k lines of code. Thanks in Advance, xnavala
Re^2: Need to increase the processing speed?
by nalap (Initiate) on Jul 24, 2013 at 10:28 UTC
    Hi rjsaulakh, Can you please help me by giving necessary code in order to split the file and get them into an array and to pass this array to process the code. The file which i am using is an unix file and it contains some 14k lines of code. Thanks in Advance, xnavala
      This thread is 8 years old. Maybe you should start a new one for your question?

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others studying the Monastery: (6)
As of 2014-07-12 03:50 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    When choosing user names for websites, I prefer to use:








    Results (238 votes), past polls