emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] extend map-into


From: Stefan Monnier
Subject: Re: [PATCH] extend map-into
Date: Tue, 08 Oct 2019 13:29:32 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux)

>> I guess we could use a `type` that's not a symbol but a list (whose
>> head is a symbol and the rest are the args), but it could be a bit
>> inconvenient (and would impact efficiency as well because it makes the
>> cl-generic dispatch more complex).
> Cool, is the attached patch doing what you suggest?

Yes.  Have you taken a look at the performance impact?
E.g. how much slower does something like (map-into nil 'alist) becomes
(this should be pretty the worst case which spends most/all its time in
the dispatch)?

Nicolas, WDYT?


        Stefan




reply via email to

[Prev in Thread] Current Thread [Next in Thread]