| Safe Haskell | None |
|---|---|
| Language | GHC2021 |
Ecluse.Core.Server.Cache.VersionWeight.Fields
Description
Field charges shared by selected releases and durable mirror records. Aliases count per occurrence.
Synopsis
- rawWeight :: CachedDoc -> Integer
- retainedRawWeight :: CachedDoc -> Integer
- detailsFieldsWeight :: PackageDetails -> Integer
- nameWeight :: PackageName -> Integer
- textWeight :: Text -> Integer
- itemsWeight :: Foldable f => (a -> Integer) -> f a -> Integer
- artifactWeight :: Artifact -> Integer
- weighEntryKey :: EntryKey -> Integer
Documentation
rawWeight :: CachedDoc -> Integer Source #
Charge compact source size on the shared expansion without encoding.
retainedRawWeight :: CachedDoc -> Integer Source #
State retention uses Integer expansion. Selected entries keep their existing Int arithmetic.
detailsFieldsWeight :: PackageDetails -> Integer Source #
Preserve variable release charges independently of the selected-entry shell.
nameWeight :: PackageName -> Integer Source #
Charge all package spellings, including aliases.
textWeight :: Text -> Integer Source #
Count the complete backing allocation of each text occurrence.
itemsWeight :: Foldable f => (a -> Integer) -> f a -> Integer Source #
Include a list or map element allowance for each occurrence.
artifactWeight :: Artifact -> Integer Source #
Charge coordinates, source strings, digests and companion declarations.
weighEntryKey :: EntryKey -> Integer Source #
Charge an entry coordinate, including any retained text backing allocation.