|
From: | Emanuel Berg |
Subject: | Re: return first element in list with certain property |
Date: | Wed, 22 Nov 2017 15:06:02 +0100 |
User-agent: | Gnus/5.13 (Gnus v5.13) Emacs/24.4 (gnu/linux) |
James K. Lowden wrote: > I would guess in elisp the typical list is on > the order of a dozen elements. As Rob Pike > says,"Fancy algorithms are slow for small N, > and N is almost always small." But here it is not a matter of fancy algorithms to do it in N. Actually the one implemented to do it in 2N seems "fancier" to me, if that is the word. -- underground experts united http://user.it.uu.se/~embe8573
[Prev in Thread] | Current Thread | [Next in Thread] |