Subject: Re: bug#18837: 25.0.50; `sort` -- modify function to preserve original list.
From: Stefan Kangas <[email-masked]>
To: Stefan Monnier <[email-masked]>
Cc: [email-masked], Keith David Bershatsky <[email-masked]>
Date: Mon, 16 Sep 2019 07:30:36 +0200
List-Id: <debbugs-submit.debbugs.gnu.org>

Stefan Monnier <[email-masked]> writes:

>> The doc-string for the function `sort` states that `SEQ is modified by
>> side effects`; however, it does not state in what way the original
>> list gets modified or why such a feature might somehow be useful.
>
> The "usefulness" is to avoid allocating another list in the case where
> the unsorted list won't be used later on anyway.

It doesn't seem like there is anything more to do here, so I'm closing
this bug.

Best regards,
Stefan Kangas