emacs-devel
[Top][All Lists]
Advanced

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

Re: [Emacs-diffs] trunk r114447: Some minor cleanups of recently-added b


From: Paul Eggert
Subject: Re: [Emacs-diffs] trunk r114447: Some minor cleanups of recently-added bool vector code.
Date: Tue, 24 Sep 2013 07:56:53 -0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.0

Eli Zaretskii wrote:
> Where are the real problems that would justify
> rejecting old compilers?

This cuts both ways, since some old compilers
refuse to compile 'static inline', whereas the
old compiler that Daniel wrote about presumably
generates faster code if the function is marked
'static inline' than if it's marked 'static'.

In trunk bzr 114452 I installed a workaround that
should cause GCC to inline the function for the case
that Daniel wrote about.  I view this as a temporary hack;
in the longer run I plan to fix this in a better
way, by merging Daniel's performance improvements
into the Gnulib module for popcount, and then
having Emacs use that module.  This will be more
portable (and I think in some cases faster) than what we
have now, and it should simplify the code in Emacs
proper.



reply via email to

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