Skip to content

Commit 9e614b1

Browse files
authored
fix: ngram bench target not correct (#3490)
1 parent 6756a12 commit 9e614b1

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

rust/lance-core/src/utils/mask.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -517,8 +517,8 @@ impl RowIdTreeMap {
517517
/// for each entry:
518518
/// * u32: fragment_id
519519
/// * u32: bitmap size
520-
/// * [u8]: bitmap
521-
/// If bitmap size is zero then the entire fragment is selected.
520+
/// * \[u8\]: bitmap
521+
/// If bitmap size is zero then the entire fragment is selected.
522522
pub fn serialize_into<W: Write>(&self, mut writer: W) -> Result<()> {
523523
writer.write_u32::<byteorder::LittleEndian>(self.inner.len() as u32)?;
524524
for (fragment, set) in &self.inner {

rust/lance-index/benches/ngram.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -103,6 +103,6 @@ criterion_group!(
103103
config = Criterion::default()
104104
.measurement_time(Duration::from_secs(10))
105105
.sample_size(10);
106-
targets = bench_inverted);
106+
targets = bench_ngram);
107107

108108
criterion_main!(benches);

0 commit comments

Comments
 (0)