helps the garbage collector work faster by about a factor of 2 or three. Switching the order of $i and $j seems to make things slower. It seems that there ought to be a better way. What can I do to help out the garbage collector do this faster?foreach $i (0..whatever) { $data[$i] = (); }
In reply to Helping the garbage collector by vlakkies
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |