Skip to content

Commit efe7b41

Browse files
Make scan_non_zero_values_fast scan entirely forwards (#1332)
Presently the `forwards` argument to `ranges::break_bit_range` is false, causing the function to scan the last bits, then the middle bytes, then the first bits. The argument should be true, so that the function scans the first bits first.
1 parent 8dcfcc3 commit efe7b41

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/util/metadata/side_metadata/global.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1234,7 +1234,7 @@ impl SideMetadataSpec {
12341234
start_meta_shift,
12351235
end_meta_addr,
12361236
end_meta_shift,
1237-
false,
1237+
true,
12381238
&mut visitor,
12391239
);
12401240
}

0 commit comments

Comments
 (0)