Subject: Re: bug#47425: 26.3; `plist-get', `plist-put' should accept a TEST function

From: Mattias Engdegård <[email-masked]>
Date: Mon, 27 Jun 2022 15:28:17 +0200

27 juni 2022 kl. 14.44 skrev Lars Ingebrigtsen <[email-masked]>:

> 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.