bug-gnulib
[Top][All Lists]
Advanced

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

Re: __builtin_expect [was: __func__]


From: Bruno Haible
Subject: Re: __builtin_expect [was: __func__]
Date: Tue, 4 Mar 2008 03:54:02 +0100
User-agent: KMail/1.5.4

Eric Blake wrote:
> Along the lines of detecting compiler capabilities, would it be worth a
> 'builtin_expect' module that provides a __builtin_expect in config.h for
> compilers that don't provide it?

If you find it worth, please add it. I won't probably use it, because the
amount of speedup one can gain with it is tiny and OTOH it makes the source
code significantly less readable.

Bruno





reply via email to

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