ClickHouse/libs/libcommon/include/common/likely.h
2015-09-29 22:21:02 +03:00

5 lines
110 B
C++

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