Subject: Re: A method that doesn't change its arguments
From: lith <minilith gmail.com>
Date: Sun, 8 Nov 2009 20:45:17 +0900
References: 349862
In-reply-to: 349862
> I would like array1 to remain unchanged. It seems a little inefficient
> to clone array1 every time some_method is called.
If your code is slow, it's not because of this use of clone. If your
code isn't, don't bother.