[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Lift {global,local}-key-binding to Lisp
From: |
Eli Zaretskii |
Subject: |
Re: Lift {global,local}-key-binding to Lisp |
Date: |
Thu, 14 Jan 2021 22:24:23 +0200 |
> Date: Thu, 14 Jan 2021 22:10:32 +0200
> From: Eli Zaretskii <eliz@gnu.org>
> Cc: emacs-devel@gnu.org
>
> > From: Stefan Kangas <stefan@marxist.se>
> > Date: Thu, 14 Jan 2021 13:24:10 -0600
> > Cc: emacs-devel@gnu.org
> >
> > AFAIK, the main reason to have things in C is if there is a performance
> > benefit to doing so.
>
> That's not the only reason
Btw, calling lookup-key from Lisp does add a level of indirection (and
thus slowdown) compared calling Flookup_key from C, because of how the
Lisp interpreter calls primitives. So even for such simple rewrite in
Lisp there are disadvantages, albeit minor ones.
- Lift {global,local}-key-binding to Lisp, Eli Zaretskii, 2021/01/13
- Re: Lift {global,local}-key-binding to Lisp, Stefan Kangas, 2021/01/14
- Re: Lift {global,local}-key-binding to Lisp, Eli Zaretskii, 2021/01/14
- Re: Lift {global,local}-key-binding to Lisp,
Eli Zaretskii <=
- Re: Lift {global,local}-key-binding to Lisp, Leo Liu, 2021/01/14
- Re: Lift {global,local}-key-binding to Lisp, Óscar Fuentes, 2021/01/14
- Re: Lift {global,local}-key-binding to Lisp, Eli Zaretskii, 2021/01/15
- Re: Lift {global,local}-key-binding to Lisp, Stefan Kangas, 2021/01/21
- RE: [External] : Re: Lift {global,local}-key-binding to Lisp, Drew Adams, 2021/01/21
- Re: [External] : Re: Lift {global,local}-key-binding to Lisp, Dmitry Gutov, 2021/01/21
- RE: [External] : Re: Lift {global,local}-key-binding to Lisp, Drew Adams, 2021/01/21
- Re: [External] : Re: Lift {global,local}-key-binding to Lisp, Dmitry Gutov, 2021/01/21
- Re: Lift {global,local}-key-binding to Lisp, Eli Zaretskii, 2021/01/21
Re: Lift {global,local}-key-binding to Lisp, Andrea Corallo, 2021/01/14