|
| From: | Dmitry Gutov |
| Subject: | Re: What's missing in ELisp that makes people want to use cl-lib? |
| Date: | Sat, 11 Nov 2023 23:49:37 +0200 |
| User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.13.0 |
On 11/11/2023 20:07, Gerd Möllmann wrote:
Seq is 10 years in Emacs, its polymorphism is unused in the tree. Joao showed that it's slow. Dmitry mentioned that it is not a full replacement for what is in cl-lib.
FWIW, it doesn't seem to me that seq's dynamic dispatch is the main part of what makes it "slow" in a number of cases. cl-lib is not that well-optimized either.
Just recently (https://debbugs.gnu.org/66806#23) we tested both cl-set-difference and seq-difference, and the hand-rolled version was much faster.
I think both of these libs could use more performance-oriented contributions, and for most other uses (data structures smaller than in that example) their speed is largely comparable.
| [Prev in Thread] | Current Thread | [Next in Thread] |