On 1/19/11 8:36 PM, so wrote:
And honestly, from the standpoint of code simplicity and
understandability,
there's a lot to be said for making copies being the default rather than
mutation. You can then use the InPlace versions if you need the boost in
efficiency.
- Jonathan M Davis
Isn't simplicity and understandability favors the in-place style on
these type of algorithms?
As Jesse Phillips said, it is same as sort.
We also have toupperInPlace and tolowerInPlace as precedents pointing
the other way.
Andrei