From 2eb937df5d55388531aaa549ed68899534987ec9 Mon Sep 17 00:00:00 2001 From: Zach Langley Date: Mon, 6 Jan 2025 16:36:41 -0500 Subject: [PATCH] comments --- crates/vm/src/system/memory/controller/memory.rs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/crates/vm/src/system/memory/controller/memory.rs b/crates/vm/src/system/memory/controller/memory.rs index 1a02202c3..acf0b342d 100644 --- a/crates/vm/src/system/memory/controller/memory.rs +++ b/crates/vm/src/system/memory/controller/memory.rs @@ -506,7 +506,9 @@ impl OfflineMemory { pub type MemoryImage = FxHashMap; -/// 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 { pub(super) data: FxHashMap,