[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Recent changes to add-to-list
From: |
David Kastrup |
Subject: |
Re: Recent changes to add-to-list |
Date: |
Mon, 30 Oct 2006 23:48:25 +0100 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) |
Richard Stallman <address@hidden> 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