mirror of
https://github.com/morluto/rea.git
synced 2026-12-05 14:31:22 +00:00
The classification probe already scans every stream for an XML plist prolog while it retains the prefix. Content classification discarded that verdict and scanned the retained prefix again with a fresh probe, so each entry paid for two decodes of its first chunk. Classification evidence now carries the probe's verdict, and the single-buffer `hasXmlPlistSignature` wrapper, which only that second scan used, is removed. The probe also stops once the prolog scanner rejects: fatal-decoder validation and byte accounting cannot change a rejection. Co-Authored-By: gensokyo-dev <342580529+gensokyo-dev@users.noreply.github.com>