Yeah, actually that was another mistake I made: I totally forgot that 
arrays are passed by reference, which means that modifications made to arr1 
will affect arr2, which caused a load of nonsense. Not sure why it seemed 
to be allocating memory and taking time, though.

Reply via email to