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);
In reply to Re^2: Efficiently processing a file
by Anonymous Monk
in thread Efficiently processing a file
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |