Skip to content

Commit

Permalink
Always inline count function
Browse files Browse the repository at this point in the history
  • Loading branch information
kimwalisch committed Apr 17, 2024
1 parent d33d14d commit c22f64b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/Sieve.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit c22f64b

Please sign in to comment.