bug-gnu-emacs
[Top][All Lists]
Advanced

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

bug#34221: [PATCH] Make project-files work with remote files


From: Dmitry Gutov
Subject: bug#34221: [PATCH] Make project-files work with remote files
Date: Sat, 2 Feb 2019 14:59:18 +0300
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:65.0) Gecko/20100101 Thunderbird/65.0

On 02.02.2019 13:16, Felicián Németh wrote:
Originally, I wanted to avoid this approach, because mapcar iterates
over the result even if remote-id is nil, but I guess the overhead is
negligible.

That's how I read it too. I'm not so sure that the overhead is negligible.

Compare

(benchmark 1 '(all-completions "" obarray))

and

(benchmark 1 '(mapcar (lambda (s) (concat nil s)) (all-completions "" obarray)))





reply via email to

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