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.
RemainingUnionDebt
SupplyUnionCredits
1 parent b70b426 commit 9b71babCopy full SHA for 9b71bab
src/Database/LSMTree/Common.hs
@@ -275,11 +275,11 @@ instance Show (BlobRef m b) where
275
-- includes the cost of completing merges that were part of the union's input
276
-- tables.
277
newtype UnionDebt = UnionDebt Int
278
- deriving stock (Show, Eq)
+ deriving stock (Show, Eq, Ord)
279
280
-- | Credits are used to pay off 'UnionDebt', completing a @union@ in the
281
-- process.
282
--
283
-- A union credit corresponds to a single merging step being performed.
284
newtype UnionCredits = UnionCredits Int
285
0 commit comments