From c22f64b1124ac351f1bb11150c85628444635d18 Mon Sep 17 00:00:00 2001 From: kimwalisch Date: Wed, 17 Apr 2024 16:08:58 +0200 Subject: [PATCH] Always inline count function --- include/Sieve.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/Sieve.hpp b/include/Sieve.hpp index d9451d49..2fc9486d 100644 --- a/include/Sieve.hpp +++ b/include/Sieve.hpp @@ -79,7 +79,7 @@ class Sieve static uint64_t get_segment_size(uint64_t size); /// Count 1 bits inside [0, stop] - uint64_t count(uint64_t stop) + ALWAYS_INLINE uint64_t count(uint64_t stop) { ASSERT(stop >= prev_stop_); uint64_t start = prev_stop_ + 1;