THPDFStructuralCompareLimits
تحد عمل المقارنة البنيوية ونمو الذاكرة وهاش التدفقات والمسارات المستقرة والنتائج المحتفظ بها
الحقول
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 snapshotMaxValueByteslimits bytes hashed from one string, name, or dictionary keyMaxPathByteslimits stable path length and appends a SHA-256 suffix when shortenedCancellationTokenoptionally requests cooperative cancellationCheckpointoptionally checks caller cancellation and budgets at page, object, stream-block, rendering-object, pixel-row, and alignment boundaries; exceptions propagate to the callerMaxResultBytesbounds serialized JSON before allocation using a conservative escaped-size estimate
القيم الافتراضية
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, 4,096 path bytes, 16 MiB result bytes, and nil cancellation and checkpoint fields
Traversal, stream hashing, value hashing, rendering, and retained-difference truncation set comparisonComplete=false and identical=false; a result-byte overflow raises EHPDFJobBudgetExceeded with metric resultBytes
قيم المستدعي غير الموجبة تُستبدل بقيمها الافتراضية