emacs-devel
[Top][All Lists]
Advanced

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

Re: Inlining policy


From: Stefan Monnier
Subject: Re: Inlining policy
Date: Mon, 06 Apr 2020 14:15:38 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)

> what about having a new macro to control the key operations we want to
> always have inlined at -O0 and -Og instead of falling back into defining
> these as macros?
>
> Something like the attached patch.

That sounds even better than what we have now since it removed the need
for the duplicate definition (once as macro and once as function).

I haven't checked whether it has the same performance impact, and
neither do I know how it compares w.r.t. "portability/reliability", but
judging just from the patch, I really like it.

Paul?


        Stefan




reply via email to

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