File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff 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 ,
You can’t perform that action at this time.
0 commit comments