[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Emacs-diffs] trunk r114452: * data.c (POPCOUNT_STATIC_INLINE): New
From: |
Paul Eggert |
Subject: |
Re: [Emacs-diffs] trunk r114452: * data.c (POPCOUNT_STATIC_INLINE): New macro, as a hack for popcount. |
Date: |
Tue, 24 Sep 2013 17:26:51 -0700 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.0 |
Daniel Colascione wrote:
> POPCOUNT_STATIC_INLINE. What problem is it supposed to solve?
It's supposed to solve the performance problem you mentioned,
which it does. It's just a short-term fix until we get
better and more-portable support for popcount in.
(The new code currently doesn't work on OpenBSD, for example.)
Once it's fixed, the other micro-optimization you mentioned
may not even be applicable, not that it has any significant
practical effect even now.