TPDFlibResourceDedupStats
Data Types, Optimisation
Description
Reports the discovery, exact-equivalence, reference redirection, category, payload, and object-collection work performed by DeduplicateResources
Declaration
TPDFlibResourceDedupStats = record
ObjectsScanned: Integer;
StreamsScanned: Integer;
CandidateStreams: Integer;
CanonicalStreams: Integer;
DuplicateStreams: Integer;
ReferencesRepointed: Integer;
SignatureFailures: Integer;
HashBuckets: Integer;
HashCollisions: Integer;
OrphanObjectsRemoved: Integer;
ImagesDeduplicated: Integer;
FormsDeduplicated: Integer;
PatternsDeduplicated: Integer;
ShadingsDeduplicated: Integer;
FunctionsDeduplicated: Integer;
ICCProfilesDeduplicated: Integer;
FontProgramsDeduplicated: Integer;
CMapsDeduplicated: Integer;
Type3CharProcsDeduplicated: Integer;
EmbeddedFilesDeduplicated: Integer;
MetadataStreamsDeduplicated: Integer;
PostScriptXObjectsDeduplicated: Integer;
BytesHashed: Int64;
BytesCompared: Int64;
DuplicatePayloadBytes: Int64;
end;
Fields
| ObjectsScanned | Total live object-structure entries examined after document objects are decoded |
|---|---|
| StreamsScanned | Total stream objects examined |
| CandidateStreams | Eligible indirect streams whose selected type and dictionary signature passed validation |
| CanonicalStreams | Distinct exact-equivalence groups retained among eligible candidates |
| DuplicateStreams | Duplicate indirect stream objects consolidated or reported |
| ReferencesRepointed | Indirect references changed during a live run or reportable during a dry run |
| SignatureFailures | Candidates skipped because a malformed or cyclic direct dictionary structure could not be represented safely |
| HashBuckets | Distinct SHA-256 and signature groups retained |
| HashCollisions | Matching hash values rejected by full signature or payload confirmation |
| OrphanObjectsRemoved | Indirect objects removed by optional mark-and-sweep collection, or -1 if collection could not complete safely |
| ImagesDeduplicated | Duplicate image XObject streams |
| FormsDeduplicated | Duplicate Form XObject streams |
| PatternsDeduplicated | Duplicate tiling-pattern streams |
| ShadingsDeduplicated | Duplicate shading streams |
| FunctionsDeduplicated | Duplicate sampled-function streams |
| ICCProfilesDeduplicated | Duplicate ICC profile streams |
| FontProgramsDeduplicated | Duplicate FontFile, FontFile2, or FontFile3 streams |
| CMapsDeduplicated | Duplicate CMap or ToUnicode streams |
| Type3CharProcsDeduplicated | Duplicate Type 3 glyph procedure streams |
| EmbeddedFilesDeduplicated | Duplicate embedded-file streams |
| MetadataStreamsDeduplicated | Duplicate metadata streams |
| PostScriptXObjectsDeduplicated | Duplicate PostScript XObject streams |
| BytesHashed | Total dictionary-signature and encoded-payload bytes passed through SHA-256 |
| BytesCompared | Encoded payload bytes checked after matching hashes and signatures |
| DuplicatePayloadBytes | Raw encoded payload bytes represented by duplicate streams before object overhead |