[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: |
Fri, 15 May 2015 14:19:55 -0400 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux) |
>> format is already significantly more expensive than make-symbol, so
>> obviously, make-symbol + format will be even worse.
> OK but this doesn't impact runtime, right? All the hard work will be
> done in compile time.
No, it only impacts the macroexpansion time/space. But the point is
that if you don't care about that, then you should use the
cl-gensym version. The make-symbol version is the "fast path", so making
it fat&slow makes no sense.
Stefan