emacs-devel
[Top][All Lists]
Advanced

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

Re: master 289000e: Merge branch 'feature/native-comp' into trunk


From: Óscar Fuentes
Subject: Re: master 289000e: Merge branch 'feature/native-comp' into trunk
Date: Mon, 26 Apr 2021 18:30:30 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)

Eli Zaretskii <eliz@gnu.org> writes:

>> From: Óscar Fuentes <ofv@wanadoo.es>
>> Date: Mon, 26 Apr 2021 17:33:30 +0200
>> 
>> Let's say your code spends 90% on the C core and 10% on Elisp.
>
> IME, that's not the case with CC Mode.  Most of the code there is
> Lisp, not C.

AFAIK CC Mode makes heavy use of regexps, plus lots of data reads &
writes on several structures implemented in C, plus lots of movements
and string reads on buffers.

All that means two things: that a large part of the run time might
correspond to C and that the native-comp opitimizer is severely limited
by the omnipresence of those calls to C functions.




reply via email to

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