From 89c1f82441d4bac6ef403436d03e1c0853430c76 Mon Sep 17 00:00:00 2001 From: Sky Johnson Date: Mon, 23 Jun 2025 08:20:05 -0500 Subject: [PATCH] remove unused branch prediction macros --- goldfish.hpp | 9 --------- 1 file changed, 9 deletions(-) diff --git a/goldfish.hpp b/goldfish.hpp index 89c9851..838e385 100644 --- a/goldfish.hpp +++ b/goldfish.hpp @@ -8,15 +8,6 @@ #include #include -// Branch prediction hints -#if defined(__GNUC__) || defined(__clang__) -#define likely(x) __builtin_expect(!!(x), 1) -#define unlikely(x) __builtin_expect(!!(x), 0) -#else -#define likely(x) (x) -#define unlikely(x) (x) -#endif - namespace goldfish { using std::string_view;