[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#47425: 26.3; `plist-get', `plist-put' should accept a TEST function
From: |
Mattias Engdegård |
Subject: |
bug#47425: 26.3; `plist-get', `plist-put' should accept a TEST function |
Date: |
Mon, 27 Jun 2022 15:28:17 +0200 |
27 juni 2022 kl. 14.44 skrev Lars Ingebrigtsen <larsi@gnus.org>:
> If you say "I want the nth", then, yes, it takes longer. But nobody
> does that with a plist or an alist
'Nobody' is too strong (done it a few times) but yes, it's not a common
operation.
But the point is that alists has several more advantages: counting number of
keys is twice as fast, iterating and/or transform the collection easily done
with mapcar, mapcan, dolist, mapc etc. Plists have no real advantage from their
structure.
- bug#47425: 26.3; `plist-get', `plist-put' should accept a TEST function, Lars Ingebrigtsen, 2022/06/27
- bug#47425: 26.3; `plist-get', `plist-put' should accept a TEST function, Mattias Engdegård, 2022/06/27
- bug#47425: 26.3; `plist-get', `plist-put' should accept a TEST function, Lars Ingebrigtsen, 2022/06/27
- bug#47425: 26.3; `plist-get', `plist-put' should accept a TEST function, Stefan Monnier, 2022/06/27
- bug#47425: 26.3; `plist-get', `plist-put' should accept a TEST function, Mattias Engdegård, 2022/06/27
- bug#47425: 26.3; `plist-get', `plist-put' should accept a TEST function, Lars Ingebrigtsen, 2022/06/27
- bug#47425: 26.3; `plist-get', `plist-put' should accept a TEST function,
Mattias Engdegård <=
- bug#47425: 26.3; `plist-get', `plist-put' should accept a TEST function, Lars Ingebrigtsen, 2022/06/27
- bug#47425: 26.3; `plist-get', `plist-put' should accept a TEST function, Stefan Monnier, 2022/06/27
- bug#47425: 26.3; `plist-get', `plist-put' should accept a TEST function, Lars Ingebrigtsen, 2022/06/27
- bug#47425: 26.3; `plist-get', `plist-put' should accept a TEST function, Drew Adams, 2022/06/27
- bug#47425: 26.3; `plist-get', `plist-put' should accept a TEST function, Drew Adams, 2022/06/27
- bug#47425: 26.3; `plist-get', `plist-put' should accept a TEST function, Lars Ingebrigtsen, 2022/06/27
- bug#47425: 26.3; `plist-get', `plist-put' should accept a TEST function, Drew Adams, 2022/06/27
- bug#47425: 26.3; `plist-get', `plist-put' should accept a TEST function, Drew Adams, 2022/06/27
- bug#47425: 26.3; `plist-get', `plist-put' should accept a TEST function, Stefan Monnier, 2022/06/27
- bug#47425: 26.3; `plist-get', `plist-put' should accept a TEST function, Drew Adams, 2022/06/27