[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Emacs' C: static inline considered useless nowadays?
From: |
Eli Zaretskii |
Subject: |
Re: Emacs' C: static inline considered useless nowadays? |
Date: |
Tue, 18 Oct 2022 18:09:13 +0300 |
> From: Stefan Monnier <monnier@iro.umontreal.ca>
> Cc: Matt Armstrong <matt@rfc20.org>, emacs-devel@gnu.org
> Date: Tue, 18 Oct 2022 09:32:32 -0400
>
> > Never mind that; it's a historic accident. Just use 'static' and let
> > the compiler decide when to inline.
>
> Since both `gcc` and `clang` obey the `inline` attribute in that case
> for options like `-Og`, it can still be a good idea to keep them in
> those places where we think it makes a significant difference.
Experience shows that we have no idea where it makes a difference.
- Emacs' C: static inline considered useless nowadays?, Matt Armstrong, 2022/10/16
- Re: Emacs' C: static inline considered useless nowadays?, Stefan Monnier, 2022/10/16
- Re: Emacs' C: static inline considered useless nowadays?, Eli Zaretskii, 2022/10/17
- Re: Emacs' C: static inline considered useless nowadays?, Matt Armstrong, 2022/10/17
- Re: Emacs' C: static inline considered useless nowadays?, Eli Zaretskii, 2022/10/17
- Re: Emacs' C: static inline considered useless nowadays?, Matt Armstrong, 2022/10/17
- Re: Emacs' C: static inline considered useless nowadays?, Eli Zaretskii, 2022/10/17
- Re: Emacs' C: static inline considered useless nowadays?, Stefan Monnier, 2022/10/18
- Re: Emacs' C: static inline considered useless nowadays?,
Eli Zaretskii <=
- Re: Emacs' C: static inline considered useless nowadays?, tomas, 2022/10/18
- Re: Emacs' C: static inline considered useless nowadays?, Stefan Monnier, 2022/10/18
- Re: Emacs' C: static inline considered useless nowadays?, Eli Zaretskii, 2022/10/18
Re: Emacs' C: static inline considered useless nowadays?, Richard Stallman, 2022/10/18