all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Stefan Kangas <stefan@marxist.se>
To: Stefan Monnier <monnier@iro.umontreal.ca>
Cc: 18837-done@debbugs.gnu.org, Keith David Bershatsky <esq@lawlist.com>
Subject: bug#18837: 25.0.50; `sort` -- modify function to preserve original list.
Date: Mon, 16 Sep 2019 07:30:36 +0200	[thread overview]
Message-ID: <CADwFkmmbisuXZbZ+mPWDAmAo0OZN0jJ8K1cpkEM6Q95ooAVMkw@mail.gmail.com> (raw)
In-Reply-To: <m2tx2rhnfm.wl%esq@lawlist.com>

Stefan Monnier <monnier@iro.umontreal.ca> 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





      parent reply	other threads:[~2019-09-16  5:30 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-10-25 21:03 bug#18837: 25.0.50; `sort` -- modify function to preserve original list Keith David Bershatsky
2014-10-26  2:44 ` Stefan Monnier
2014-10-26  5:04 ` Keith David Bershatsky
2019-09-16  5:30 ` Stefan Kangas [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CADwFkmmbisuXZbZ+mPWDAmAo0OZN0jJ8K1cpkEM6Q95ooAVMkw@mail.gmail.com \
    --to=stefan@marxist.se \
    --cc=18837-done@debbugs.gnu.org \
    --cc=esq@lawlist.com \
    --cc=monnier@iro.umontreal.ca \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.