[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#57079: 29.0.50; Performance of seq-uniq is not very good
From: |
Lars Ingebrigtsen |
Subject: |
bug#57079: 29.0.50; Performance of seq-uniq is not very good |
Date: |
Tue, 09 Aug 2022 19:21:24 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) |
Eli Zaretskii <eliz@gnu.org> writes:
> No one said that was a problem in these cases.
I haven't audited the callers, but changing code that used to be
non-destructive to be destructive isn't to be taken lightly.
Anyway, I've now made seq-uniq faster. This used to take 27 seconds,
and now takes 1.4s.
(let ((list (seq-map-indexed (lambda (_ i)
i)
(make-list 10000 nil))))
(setq list (append list list))
;;(benchmark-run 10 (gnus-delete-duplicates list))
(benchmark-run 10 (seq-uniq list))
)
- bug#57079: 29.0.50; Performance of seq-uniq is not very good, Stefan Kangas, 2022/08/09
- bug#57079: 29.0.50; Performance of seq-uniq is not very good, Eli Zaretskii, 2022/08/09
- bug#57079: 29.0.50; Performance of seq-uniq is not very good, Eli Zaretskii, 2022/08/09
- bug#57079: 29.0.50; Performance of seq-uniq is not very good, Lars Ingebrigtsen, 2022/08/09
- bug#57079: 29.0.50; Performance of seq-uniq is not very good, Eli Zaretskii, 2022/08/09
- bug#57079: 29.0.50; Performance of seq-uniq is not very good, Eli Zaretskii, 2022/08/09
- bug#57079: 29.0.50; Performance of seq-uniq is not very good, Lars Ingebrigtsen, 2022/08/09
- bug#57079: 29.0.50; Performance of seq-uniq is not very good, Eli Zaretskii, 2022/08/09
- bug#57079: 29.0.50; Performance of seq-uniq is not very good, Lars Ingebrigtsen, 2022/08/09
- bug#57079: 29.0.50; Performance of seq-uniq is not very good, Eli Zaretskii, 2022/08/09
- bug#57079: 29.0.50; Performance of seq-uniq is not very good, Juri Linkov, 2022/08/09