scottstef has asked for the wisdom of the Perl Monks concerning the following question:
1.) Grab all the data I need and place it in a temp file and then go back and do the formatting?
2.) Grab the data into a memory buffer and procees each bit individually?
3.) Grab all of the data into memory and then batch process it all to the format I want.
Which is going to places the least stress on the system? Or what is the preferred manner of doing something such as this? I would tend to thing that processing each line of data would seem to be the least stressful on the system. Just wanted to know what everyone else thought.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Questions about efficiency
by grinder (Bishop) on Mar 13, 2001 at 20:11 UTC | |
|
Re: Questions about efficiency
by arhuman (Vicar) on Mar 13, 2001 at 18:45 UTC | |
|
Re: Questions about efficiency
by tune (Curate) on Mar 13, 2001 at 20:08 UTC | |
by tomhukins (Curate) on Mar 13, 2001 at 22:11 UTC |