help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: return first element in list with certain property


From: Emanuel Berg
Subject: Re: return first element in list with certain property
Date: Tue, 21 Nov 2017 02:54:41 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4 (gnu/linux)

Eric Abrahamsen wrote:

> In that case there will be less difference
> between the two: as Drew noted, `cl-find-if'
> will traverse the list twice, which only
> becomes a big problem if the desired element
> is at the end of the list.

It doesn't have to be a problem, it is bizarre
as it is. Thanks for mentioning it, I'll change
to `seq-find'.

See, my intuition was right, seq-find *is*
better even tho you guys are in denial about
it :)

-- 
underground experts united
http://user.it.uu.se/~embe8573




reply via email to

[Prev in Thread] Current Thread [Next in Thread]