in reply to Improving memory performance

If you wan't to remove a hash element, array element, hash slice, or array slice, and not a whole hash or array, I guess you should use delete. Read more in perlfunc.