Skip to content

Commit

Permalink
Change log level of transposing logs
Browse files Browse the repository at this point in the history
  • Loading branch information
georgwiese committed Nov 1, 2023
1 parent 72210fc commit eee5d8d
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions executor/src/witgen/data_structures/finalizable_data.rs
Original file line number Diff line number Diff line change
Expand Up @@ -121,19 +121,19 @@ impl<'a, T: FieldElement> FinalizableData<'a, T> {
/// - A list of values
/// - A bit vector indicating which cells are known. Values of unknown cells should be ignored.
pub fn take_transposed(&mut self) -> impl Iterator<Item = (PolyID, (Vec<T>, BitVec))> {
log::info!(
log::debug!(
"Transposing {} rows with {} columns...",
self.data.len(),
self.column_ids.len()
);
log::info!("Finalizing remaining rows...");
log::debug!("Finalizing remaining rows...");
let mut counter = 0;
for i in 0..self.data.len() {
if self.finalize(i) {
counter += 1;
}
}
log::info!("Needed to finalize {} / {} rows.", counter, self.data.len());
log::debug!("Needed to finalize {} / {} rows.", counter, self.data.len());

// Store transposed columns in vectors for performance reasons
let mut columns = vec![vec![]; self.column_ids.len()];
Expand All @@ -152,7 +152,7 @@ impl<'a, T: FieldElement> FinalizableData<'a, T> {
}
}

log::info!("Done transposing.");
log::debug!("Done transposing.");

// Pair columns with their IDs
let column_ids = std::mem::take(&mut self.column_ids);
Expand Down

0 comments on commit eee5d8d

Please sign in to comment.