Skip to content

Commit 28e780b

Browse files
committed
Inline hash_rehash()
1 parent 6cff861 commit 28e780b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/hash.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ static R_INLINE size_t hash_index2(SEXP key, uintptr_t multiplier) {
8181
return ((ptr & 0x0fffffff) * multiplier) | 1;
8282
}
8383

84-
void hash_rehash(hashtab *h) {
84+
static R_INLINE void hash_rehash(hashtab *h) {
8585
size_t new_size = h->size * 2;
8686
hashtab *new_h = hash_create_(new_size, default_load_factor);
8787

0 commit comments

Comments
 (0)