That way you don't have to go through a garbage collection stage later, but you may not gain much in speed since splice is slower that delete.# delete $array[$x]; # $array[$x] = undef; splice @array, $x, 1;
In reply to Re: deleting array elements(efficiency/critique)
by repson
in thread deleting array elements(efficiency/critique)
by blueAdept
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |