Skip to content

Commit

Permalink
o1vm/mips: decreasing actual scratch state size by 40%
Browse files Browse the repository at this point in the history
It seems that most of the state was empty.
  • Loading branch information
dannywillems committed Nov 22, 2024
1 parent bc42b02 commit 796267d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion o1vm/src/interpreters/mips/column.rs
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ use strum::EnumCount;

use super::{ITypeInstruction, JTypeInstruction, RTypeInstruction};

pub(crate) const SCRATCH_SIZE_WITHOUT_KECCAK: usize = 80;
pub(crate) const SCRATCH_SIZE_WITHOUT_KECCAK: usize = 45;
/// The number of hashes performed so far in the block
pub(crate) const MIPS_HASH_COUNTER_OFF: usize = SCRATCH_SIZE_WITHOUT_KECCAK;
/// The number of bytes of the preimage that have been read so far in this hash
Expand Down

0 comments on commit 796267d

Please sign in to comment.