File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
src/Database/LSMTree/Internal Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -360,19 +360,19 @@ import Database.LSMTree.Internal.Vector
360
360
data IndexCompact = IndexCompact {
361
361
-- | \(P\): Maps a page @i@ to the 64-bit slice of primary bits of its
362
362
-- minimum key.
363
- icPrimary :: ! (VU. Vector Word64 )
363
+ icPrimary :: {-# UNPACK #-} ! (VU. Vector Word64 )
364
364
-- | \(C\): A clash on page @i@ means that the primary bits of the minimum
365
365
-- key on that page aren't sufficient to decide whether a search for a key
366
366
-- should continue left or right of the page.
367
- , icClashes :: ! (VU. Vector Bit )
367
+ , icClashes :: {-# UNPACK #-} ! (VU. Vector Bit )
368
368
-- | \(TB\): Maps a full minimum key to the page @i@ that contains it, but
369
369
-- only if there is a clash on page @i@.
370
370
, icTieBreaker :: ! (Map (Unsliced SerialisedKey ) PageNo )
371
371
-- | \(LTP\): Record of larger-than-page values. Given a span of pages for
372
372
-- the larger-than-page value, the first page will map to 'False', and the
373
373
-- remainder of the pages will be set to 'True'. Regular pages default to
374
374
-- 'False'.
375
- , icLargerThanPage :: ! (VU. Vector Bit )
375
+ , icLargerThanPage :: {-# UNPACK #-} ! (VU. Vector Bit )
376
376
}
377
377
deriving stock (Show , Eq )
378
378
You can’t perform that action at this time.
0 commit comments