From: YANAGAWA Kazuhisa Date: 2006-01-13T08:40:01+09:00 Subject: Re: Merge two arrays? In Message-Id: Joshua Muheim writes: > Hrm I don't really got this... Where do I have to put the references > (array1, array2) for this? That's already answered by others so I don't repeat.... > > Note these operators always make a new array for a result, they may > > not be suitable when both your arrays are too large, though > > Thanks for the hint. But they don't create clones of the objects in the > arrays, they just copy the references, right? That's right. By above saying I want to note on memory utilization issue: Since very_huge_array (operator) another_very_huge_array possibly yields yet_another_very_huge_array, (a1|a2)-(a1&a2) can creates two huge arrays which immediately discarded after the computation. -- kjana@dm4lab.to January 13, 2006 Behind the clouds is the sun still shining.