From 8225269105bf96407e00f11f21b7df0469b7b9a7 Mon Sep 17 00:00:00 2001 From: Jakub Alba Date: Sun, 17 Dec 2023 20:59:44 +0100 Subject: fix a comment In an older version of this code, Arena used to allocate memory in 1MiB increments, but I changed it later to just a page of memory. --- test_arena.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test_arena.cpp b/test_arena.cpp index 545e4ba..fbc0b36 100755 --- a/test_arena.cpp +++ b/test_arena.cpp @@ -4,7 +4,7 @@ DECL_MAIN { // Reserving 16GiB. auto a = Arena(16ULL * 1024ULL * 1024ULL * 1024ULL); - // Committing 1MiB to make space for 4 bytes (with some headroom). + // Committing a full page to make space for 4 bytes (with some headroom). bool committed = a.Grow(4); assert(committed); -- cgit v1.2.3