Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
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?

Replies are listed 'Best First'.
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?
[tye]: -Mouse
[Corion]: Option a) would mean launching cmd.exe /k c:\path\to\ batchfile- launching-perl- script.cmd. Option b) would be to add pause as the last line of said batch file.
[LanX]: First day after holidays ... and already stressed by the fact that colleagues changed stuff without communication ... apparently I'm the only one trying to fight entropy
[Corion]: LanX: The command is always in the history if you typed it in before. If you didn't type the command into the command line, it will not be there. I think there is doskey which can stuff command lines into the history
LanX damns the cult of CB ;-)
LanX WTF WTF WTF
[LanX]: please forget my last 3 posts
[LanX]: Yeah option a doesn't go into history
[LanX]: probably I need to teach the app to restart after C-c Kill
[Corion]: LanX: Maybe have an infinite-loop cmd file? Much easier than trying to manage that from within Perl IMO

How do I use this? | Other CB clients
Other Users?
Others chilling in the Monastery: (9)
As of 2017-03-27 15:48 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Should Pluto Get Its Planethood Back?



    Results (320 votes). Check out past polls.