We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4c71846 commit 52d9d21Copy full SHA for 52d9d21
plutus-core/cost-model/budgeting-bench/Benchmarks/Values.hs
@@ -97,6 +97,8 @@ newPolicyId gen = do
97
-- generated bytestring is going to be larger than Value.maxKeyLen, because we
98
-- append a counter integer to ensure uniqueness. This is acceptable for benchmarking
99
-- purposes, as we're interested in the worst-case performance.
100
+-- Actually, this wouldn't be acceptable if we were to measure based on the size of the
101
+-- keys, because we would want to view how key size affects performance!
102
newTokenName :: StateGenM StdGen -> BenchState TokenName
103
newTokenName gen = do
104
bs <- uniformByteStringM Value.maxKeyLen gen
0 commit comments