ecluse:ecluse-core
Safe HaskellNone
LanguageGHC2021

Ecluse.Core.Mirror.State.Weight

Description

Durable graph accounting counts aliases per occurrence and complete text backing allocations.

Synopsis

Documentation

retainedRecordWeight :: MirrorStateFormat -> ProjectMirrorRecord -> Integer Source #

The project shell covers map roots and fixed identities. Companion bodies belong to their read reservation.

retainedFragmentWeight :: MirrorStateFormat -> StoredMirrorFragment -> Integer Source #

A fragment's format declares its shell allowance and its stored source's weight.

fragmentShellAllowance :: Integer Source #

A fragment's shell allowance for its identity, parsed version, time and install facts, and source roots.

sourceEntriesWeight :: [(EntryKey, Value)] -> Integer Source #

Stored entries' coordinates and the uncounted backing of their values.

valueBackingExcess :: Value -> Integer Source #

Compact JSON estimates count visible bytes. Add each string or key's uncounted backing allocation.