We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
fn COVER_group
1 parent a317d42 commit 99652ccCopy full SHA for 99652cc
lib/dictBuilder/cover.rs
@@ -400,6 +400,9 @@ fn COVER_group(ctx: &mut COVER_ctx_t, range: Range<usize>) {
400
ctx.dmerAt[v] = dmerId;
401
if v >= curSampleEnd {
402
freq += 1;
403
+ if curOffsetPtr.is_empty() {
404
+ break;
405
+ }
406
if it.peek().is_some() {
407
let sampleEndPtr = COVER_lower_bound(curOffsetPtr, v);
408
curSampleEnd = curOffsetPtr[sampleEndPtr];
0 commit comments