Skip to content

Commit be01419

Browse files
committed
Trim comments in prove_with_options_and_inputs storage mode block
1 parent 1230403 commit be01419

1 file changed

Lines changed: 1 addition & 7 deletions

File tree

prover/src/lib.rs

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -580,15 +580,9 @@ pub fn prove_with_options_and_inputs(
580580
#[cfg(feature = "instruments")]
581581
let phase_start = std::time::Instant::now();
582582

583-
// Pick where trace buffers and Merkle tree nodes live for this proof.
584-
// With the `disk-spill` feature enabled, the analytical estimate decides
585-
// between Ram and Disk; without it, we never spill.
583+
// Pick storage mode from analytical heap estimate.
586584
#[cfg(feature = "disk-spill")]
587585
let storage_mode = {
588-
// Stream over logs once to compute exact per-table row counts without
589-
// building per-instruction op vectors (the decode trace is still built
590-
// for the row count). Use the resulting `TableLengths` to estimate
591-
// peak heap analytically and pick a storage mode.
592586
let lengths = crate::tables::trace_builder::count_table_lengths(
593587
&program,
594588
&result.logs,

0 commit comments

Comments
 (0)