From: David Kastrup <dak@gnu.org>
Cc: emacs-devel@gnu.org
Subject: Re: Recent changes to add-to-list
Date: Mon, 30 Oct 2006 23:48:25 +0100 [thread overview]
Message-ID: <85d589h13a.fsf@lola.goethe.zz> (raw)
In-Reply-To: <E1GeXGI-00022w-58@fencepost.gnu.org> (Richard Stallman's message of "Mon\, 30 Oct 2006 08\:33\:10 -0500")
Richard Stallman <rms@gnu.org> writes:
> Note that this walks through the entire list even if the first
> comparison already establishes the presence of a list element. That
> is very bad, since that is likely the most common use case.
>
> That is a real slowdown. Since you've written a fix,
> would you please install it?
I am installing it, but I would ask people who actually use the third
argument to `add-to-list' with a generic function to check this out,
as I don't have a test case.
--
David Kastrup, Kriemhildstr. 15, 44793 Bochum
next prev parent reply other threads:[~2006-10-30 22:48 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-10-29 9:38 Recent changes to add-to-list David Kastrup
2006-10-30 1:05 ` Stefan Monnier
2006-10-30 13:33 ` Richard Stallman
2006-10-30 22:48 ` David Kastrup [this message]
2006-10-30 23:05 ` Nick Roberts
2006-11-01 2:13 ` Richard Stallman
2006-11-01 16:39 ` Stefan Monnier
2006-11-02 4:43 ` Richard Stallman
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
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=85d589h13a.fsf@lola.goethe.zz \
--to=dak@gnu.org \
--cc=emacs-devel@gnu.org \
/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 public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).