in reply to Re: Efficiently processing a file
in thread Efficiently processing a file
I decided to make an account since I could not edit my previous posts w/out one.
Thanks, I did not know that foreach reads everything into memory first, that was probably what was causing the server to kill the program. Would there be an appreciable speed increase if I called the function by reference? When would you usually call a function by reference?&count_bases(20); &count_bases(30);
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Efficiently processing a file
by rkrieger (Friar) on Jan 26, 2010 at 07:51 UTC | |
|
Re^3: Efficiently processing a file
by jwkrahn (Abbot) on Jan 25, 2010 at 22:45 UTC | |
|
Re^3: Efficiently processing a file
by Anonymous Monk on Jan 26, 2010 at 17:03 UTC |