ClickHouse/libs/libcommon/include/common/likely.h

5 lines
110 B
C++
Raw Normal View History

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