Skip to content

Commit e8b194b

Browse files
committed
Group::static_empty() comment updated.
1 parent dd95872 commit e8b194b

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

src/raw/generic.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,8 @@ impl Group {
5454
pub const WIDTH: usize = mem::size_of::<Self>();
5555

5656
/// Returns a full group of empty bytes, suitable for use as the initial
57-
/// value for an empty hash table.
57+
/// value for an empty hash table. This value is explicitly declared as
58+
/// a static variable to ensure the address is consistent across dylibs.
5859
///
5960
/// This is guaranteed to be aligned to the group size.
6061
#[inline]

src/raw/sse2.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,8 @@ impl Group {
2525
pub const WIDTH: usize = mem::size_of::<Self>();
2626

2727
/// Returns a full group of empty bytes, suitable for use as the initial
28-
/// value for an empty hash table.
28+
/// value for an empty hash table. This value is explicitly declared as
29+
/// a static variable to ensure the address is consistent across dylibs.
2930
///
3031
/// This is guaranteed to be aligned to the group size.
3132
#[inline]

0 commit comments

Comments
 (0)