emacs-devel
[Top][All Lists]
Advanced

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

Re: [elpa] externals/org 26ef5e3e5b: org-src: Use `sh-mode' for all the


From: Mattias Engdegård
Subject: Re: [elpa] externals/org 26ef5e3e5b: org-src: Use `sh-mode' for all the shells it can handle
Date: Mon, 17 Apr 2023 18:39:09 +0200

17 apr. 2023 kl. 18.27 skrev Philip Kaludercic <philipk@posteo.net>:

> Is this just an implementation detail, or is there a reason that this
> could not expand to 
> 
>  (append '(a b c d) (list 1 2))

We could actually turn

   (cons X1 ... (cons Xn Y)...)

into

   (nconc (list X1 ... Xn) Y)

in the byte-compiler: the latter is smaller for n≥2, and a quick benchmark 
suggests it's faster for n≥7. I may give it a go. Backquote would clearly 
benefit.




reply via email to

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