Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

Re: append to a string or make an array? (memory and time efficiency)

by swkronenfeld (Hermit)
on Jul 25, 2003 at 03:35 UTC ( #277783=note: print w/replies, xml ) Need Help??


in reply to append to a string or make an array? (memory and time efficiency)

I realized that I am perhaps being a bit vague?

The application is a server. The user is connecting via TCP/IP, much like Telnet. Continuing the telnet analogy, some commands, like cat, produce all their output at once, while other commands, like find, produce their output a little at a time. Either way, the user doesn't have to press any more keys to get all the output, and I don't mind if they receive it all at once (as if the output of the find command was buffered, and sent in its entirety when the command completed)

Have I clarified things or made it worse?

  • Comment on Re: append to a string or make an array? (memory and time efficiency)

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others cooling their heels in the Monastery: (2)
As of 2022-09-29 23:55 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    I prefer my indexes to start at:




    Results (125 votes). Check out past polls.

    Notices?