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 99122c4 commit b12c894Copy full SHA for b12c894
plutus-core/plutus-core/src/PlutusCore/Value.hs
@@ -294,10 +294,8 @@ valueContains v1 v2
294
goInner t a2 = (<>) (All $ lookupCoin (unK c) (unK t) v1 >= a2)
295
{-# INLINEABLE valueContains #-}
296
297
-{-| The precise complexity is complicated, but an upper bound
298
-is \(O(n_{1} \log n_{2}) + O(m)\), where \(n_{1}\) is the total size of the smaller
299
-value, \(n_{2}\) is the total size of the bigger value, and \(m\) is the
300
-combined size of the outer maps.
+{-| \(O(n_{1}) + O(n_{2})\), where \(n_{1}\) and \(n_{2}\) are the total sizes
+(i.e., sum of inner map sizes) of the two maps.
301
-}
302
unionValue :: Value -> Value -> Value
303
unionValue (unpack -> vA) (unpack -> vB) =
0 commit comments