[Top][All Lists]

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

Re: [Emacs-diffs] master fbda511: Fix cps--gensym

From: Stefan Monnier
Subject: Re: [Emacs-diffs] master fbda511: Fix cps--gensym
Date: Thu, 14 May 2015 22:05:40 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux)

>> Why?  As the comment above says, if you want the more readable names,
>> you should use the other line of code.  The default one is aimed at
>> being more efficient (both cpu-use-wise and memory-use-wise),
> I changed it because the expansion of iter-lambda etc. was difficult to
> read.

Right, and as the comment say, when you want to read the expansion, you
should use the other code (the one that uses cl-gensym+format).

> I don't understand the efficiency issue so the change may be a
> mistake. Could you elaborate on what the issue is? Thanks.

format is already significantly more expensive than make-symbol, so
obviously, make-symbol + format will be even worse.


reply via email to

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