Arash Esbati <ar...@gnu.org> writes:

> "Tassilo Horn" <t...@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