From f4ae495fa4ccdf98aecca9ce4885cbbf3d3ff423 Mon Sep 17 00:00:00 2001 From: PGross Date: Wed, 13 Nov 2024 17:03:35 +0100 Subject: [PATCH] docs --- src/include/duckdb/execution/ht_entry.hpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/include/duckdb/execution/ht_entry.hpp b/src/include/duckdb/execution/ht_entry.hpp index be1ad2bb07cc..4fb37ff859ad 100644 --- a/src/include/duckdb/execution/ht_entry.hpp +++ b/src/include/duckdb/execution/ht_entry.hpp @@ -132,7 +132,8 @@ struct ht_entry_t { // NOLINT hash_t value; }; -// uses an AND operation to apply the modulo operation instead of an if condition that could be branch mispredicted +// uses an AND operation to apply the modulo operation instead of an if condition that could result in a branch +// misprediction inline void IncrementAndWrap(idx_t &offset, const uint64_t &capacity_mask) { ++offset &= capacity_mask; }