THPDFStructuralCompareLimits
Bounds structural comparison work, memory growth, stream hashing, stable paths, and retained results
字段
MaxObjectslimits queued indirect objectsMaxEdgeslimits followed indirect referencesMaxPageslimits aligned page snapshotsMaxDepthlimits nested direct arrays and dictionariesMaxDifferenceslimits retained difference objects while preserving the total countMaxStreamByteslimits bytes hashed from one streamMaxTotalStreamByteslimits stream bytes hashed per document snapshotMaxValueBytes限制对单个字符串、名称或字典键做哈希的字节数MaxPathBytes限制稳定路径的长度,缩短时会追加 SHA-256 后缀
默认值
Default returns 250,000 objects, 2,000,000 edges, 250,000 pages, depth 128, 10,000 retained differences, 64 MiB per stream, 512 MiB total stream bytes, 1 MiB per value, and 4,096 path bytes
调用方传入的非正数值会被替换为默认值