Skip to content

Commit 1875e95

Browse files
authored
perf: don't write precomputed partitions to trace file (lancedb#2493)
At 50M rows this writes 1GB to the trace file 😆
1 parent 68c3260 commit 1875e95

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

rust/lance/src/index/vector/ivf/builder.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ use super::io::write_hnsw_quantization_index_partitions;
2929
///
3030
///
3131
#[allow(clippy::too_many_arguments)]
32-
#[instrument(level = "debug", skip(writer, data, ivf, pq))]
32+
#[instrument(level = "debug", skip_all)]
3333
pub(super) async fn build_partitions(
3434
writer: &mut dyn Writer,
3535
data: impl RecordBatchStream + Unpin + 'static,

0 commit comments

Comments
 (0)