Skip to content

Commit

Permalink
comments
Browse files Browse the repository at this point in the history
  • Loading branch information
zlangley committed Jan 6, 2025
1 parent b3f809e commit 2eb937d
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion crates/vm/src/system/memory/controller/memory.rs
Original file line number Diff line number Diff line change
Expand Up @@ -506,7 +506,9 @@ impl<F: PrimeField32> OfflineMemory<F> {

pub type MemoryImage<F> = FxHashMap<Address, F>;

/// A partition of data into blocks where each block has size a power of two.
/// A simple data structure to read to/write from memory.
///
/// Stores a log of memory accesses to reconstruct aspects of memory state for trace generation.
#[derive(Debug, Clone)]
pub struct Memory<F> {
pub(super) data: FxHashMap<Address, F>,
Expand Down

0 comments on commit 2eb937d

Please sign in to comment.