[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] Optimize certain memq forms during byte-compilation.
From: |
Vibhav Pant |
Subject: |
Re: [PATCH] Optimize certain memq forms during byte-compilation. |
Date: |
Sun, 25 Mar 2018 00:11:33 +0530 |
On Fri, Mar 23, 2018 at 2:26 PM, Robert Pluim <address@hidden> wrote:
> Is (memq foo '(bar)) actually that common?
I've seen it used in the emacs lisp code base, mostly for detecting
the system-type.
> In any case, some explanation of the intent of the change would be helpful
> so we don't need to read the code every time.
I'll add a comment explaining the optimization, yeah.
Thanks,
Vibhav
--
Vibhav Pant
address@hidden