Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

Re^2: Suggestions for optimizing this code...

by NeilF (Sexton)
on Jan 17, 2006 at 11:26 UTC ( #523725=note: print w/replies, xml ) Need Help??


in reply to Re: Suggestions for optimizing this code...
in thread Suggestions for optimizing this code...

I do need that array... Maybe what I'll do is read buffered, but write using syswrite. All I'd have to do then is replace:-

open DF,">test.txt"; print DF @test; close DF;


with:-

sysopen(DF,"test.txt", O_WRONLY | O_CREAT); syswrite DF,join('', @test); close DF;


At least then the IO Processes for writing are down to 1!

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others having an uproarious good time at the Monastery: (3)
As of 2022-05-22 22:44 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Do you prefer to work remotely?



    Results (81 votes). Check out past polls.

    Notices?