[Top][All Lists]

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

Re: Using __builtin_expect (likely/unlikely macros)

From: Paul Eggert
Subject: Re: Using __builtin_expect (likely/unlikely macros)
Date: Sun, 14 Apr 2019 21:41:02 -0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.6.1

Alex Gramiak wrote:
Though I don't think that these macros, used sparingly around code such
as emacs_abort, would make it harder to read/write/maintain.

These macro calls would not help near calls to emacs_abort, as it should already be obvious to a careful human reader that the jump to emacs_abort is the road less traveled. (That's also obvious to GCC, since emacs_abort is _Noreturn.)

reply via email to

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