[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 21:14:12 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.4 (gnu/linux) |
Philipp Stephani wrote:
> Please consider Knuth's statement about
> premature optimization. Until your users have
> actually complained about the speed of your
> product and you have benchmarked it and
> isolated cl-find-if as the culprit, there's
> no need to micro-optimize.
> Presumably cl-find-if has performed two
> iterations for years or decades without
> anybody being bothered enough to improve it.
This is not an optimization issue in my eyes.
It is just bizarre to have low-level operators
on low-level data structures operate like this
when there is no reason to, as the `cl-loop',
`cl-dolist' and `seq-find' examples all show.
It is like the basic building blocks of the
universe. Better get them right.
I'm a bottom-up guy.
--
underground experts united
http://user.it.uu.se/~embe8573
- Re: return first element in list with certain property, (continued)
- Re: return first element in list with certain property, Nicolas Petton, 2017/11/22
- Re: return first element in list with certain property, Philipp Stephani, 2017/11/21
- Re: return first element in list with certain property, Michael Heerdegen, 2017/11/21
- RE: return first element in list with certain property, Drew Adams, 2017/11/21
- Re: return first element in list with certain property, Emanuel Berg, 2017/11/21
- RE: return first element in list with certain property, Drew Adams, 2017/11/21
- Re: return first element in list with certain property,
Emanuel Berg <=
- Message not available
- Re: return first element in list with certain property, James K. Lowden, 2017/11/21
- Re: return first element in list with certain property, Michael Heerdegen, 2017/11/22
- Re: return first element in list with certain property, Emanuel Berg, 2017/11/22
- Re: return first element in list with certain property, Rusi, 2017/11/22
- Re: return first element in list with certain property, Nicolas Petton, 2017/11/22
- Re: return first element in list with certain property, Emanuel Berg, 2017/11/22
- Re: return first element in list with certain property, Michael Heerdegen, 2017/11/22
- Re: return first element in list with certain property, Emanuel Berg, 2017/11/22
- Re: return first element in list with certain property, John Mastro, 2017/11/24
- Re: return first element in list with certain property, Robert Thorpe, 2017/11/24