emacs-devel
[Top][All Lists]
Advanced

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

Re: [elpa] main 2ec80977e1: * elpa-packages (dired-preview): New package


From: Philip Kaludercic
Subject: Re: [elpa] main 2ec80977e1: * elpa-packages (dired-preview): New package
Date: Thu, 13 Jul 2023 20:29:24 +0000

Protesilaos Stavrou <info@protesilaos.com> writes:

>> From: Philip Kaludercic <philipk@posteo.net>
>> Date: Mon, 10 Jul 2023 18:29:23 +0000
>
>> [... 35 lines elided]
>
>> diff --git a/dired-preview.el b/dired-preview.el
>> index 853131b..b3517bd 100644
>> --- a/dired-preview.el
>> +++ b/dired-preview.el
>
>> [... 206 lines elided]
>
> Hello again Philip,
>
> I believe I pushed all the relevant changes you suggested.  The only one
> I have not done yet is the 'dolist' VS 'mapc' that you and Stefan
> commented on.  I need to understand the technical differences better, so
> as to know when to use 'mapc'.

Do you have any concrete questions?  Semantically they should be
equivalent, it is just a matter of estimating the cost of a funcall and
of closures, which is why I suggest replacing (mapc (lambda (x) ... x
...) xs) with (dolist (x xs) ... x ...).

> All the best,
> Prot



reply via email to

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