From 4d43d0819393f68190a5950834fca7939ecd02d1 Mon Sep 17 00:00:00 2001 From: evoskuil Date: Fri, 26 Jan 2024 21:54:53 -0500 Subject: [PATCH] Comment typos. --- test/machine/program.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/machine/program.cpp b/test/machine/program.cpp index f74d648ba1..ee25862cea 100644 --- a/test/machine/program.cpp +++ b/test/machine/program.cpp @@ -147,7 +147,7 @@ static_assert(a0 == 2 * sizeof(size_t)); // opcodes (and one byte for the overflow boolean). This is additional script // overhead in order to provide shared pointers to avoid push data copy. If // average data element byte length is < (2 * sizeof(pointer) + 1), such as -// predominantly non-puh data opcodes, this implies an increased average cost. +// predominantly non-push data opcodes, this implies an increased average cost. // // std::vector => 3 pointers per element. // std::vector> => 5 pointers per element. @@ -165,7 +165,7 @@ static_assert(a0 == 2 * sizeof(size_t)); // std::vector>> => 6 // // This change to variant added a cost of 1 pointer per stack element (only) to -// the previous cost of 2 ponters per element, making the net cost 2 pointers +// the previous cost of 2 pointers per element, making the net cost 2 pointers // per stack element (with no change to the operation stack). This enables // strong typing of stack data as bool/int64_t (or chunk_cptr), eliminating // a large number of chunk<->integral conversions, as well as 3 pointer vector