Author vstinner
Recipients benjamin.peterson, ezio.melotti, lemburg, loewis, pitrou, tchrist, terry.reedy, vstinner
Date 2011-08-15.10:10:08
SpamBayes Score 0.0369116
Marked as misclassified No
Message-id <>
We may use the following unlikely macro for IS_SURROGATE, IS_HIGH_SURROGATE and IS_LOW_SURROGATE:

#define likely(x)	__builtin_expect(!!(x), 1)
#define unlikely(x)	__builtin_expect(!!(x), 0)

I suppose that we should use microbenchmarks to validate these macros?

Should I open a new issue for this idea?
Date User Action Args
2011-08-15 10:10:09vstinnersetrecipients: + vstinner, lemburg, loewis, terry.reedy, pitrou, benjamin.peterson, ezio.melotti, tchrist
2011-08-15 10:10:09vstinnersetmessageid: <>
2011-08-15 10:10:08vstinnerlinkissue12751 messages
2011-08-15 10:10:08vstinnercreate