auctex-devel
[Top][All Lists]
Advanced

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

Re: GNU AUCTeX branch, master, updated. 34befcc17649fd6615fd4ef8756fb787


From: David Kastrup
Subject: Re: GNU AUCTeX branch, master, updated. 34befcc17649fd6615fd4ef8756fb78705f7fe55
Date: Tue, 22 Feb 2022 18:24:05 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux)

Arash Esbati <arash@gnu.org> writes:

> "Tassilo Horn" <tsdh@gnu.org> writes:
>
> Hi Tassilo,
>
> Thanks for fixing this.  I have one question:
>
>> diff --git a/latex.el b/latex.el
>> index c332ebf4..06627c4b 100644
>> --- a/latex.el
>> +++ b/latex.el
>> @@ -5849,11 +5849,13 @@ returned."
>>    (catch 'found
>>      (dolist (var (list LaTeX-math-list LaTeX-math-default))
>>        (dolist (e var)
>
> Would it make sense to drop the outer dolist and replace
>
>        (dolist (e var)
>
> with
>        (dolist (e (append LaTeX-math-list LaTeX-math-default))
>
> Or am I missing something?

Performance and memory churn?  Appending two lists has to create a copy
of the first list.

-- 
David Kastrup



reply via email to

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