[PR] Replace meta-rule full-rescan retry with a dependency-dri ven work queue [spamassassin]

bigio (via GitHub) <[email protected]> Tue, 21 Jul 2026 15:37:47 -0000
Newsgroups gmane.mail.spam.spamassassin.devel
Message-ID <[email protected]>
bigio opened a new pull request, #32:
URL: https://github.com/apache/spamassassin/pull/32

   do_meta_tests() restarted its entire foreach over meta_check_ready (or meta_pending when finishing) via "goto RULE" every time any meta resolved, re-checking the dependency list of every still-pending meta each time, even ones unaffected by what just resolved. Replace it with an explicit work queue seeded the same way, where resolving a meta pushes only the specific metas listed in its meta_deprules reverse-map (the same map PerMsgStatus::rule_ready() already uses) instead of rescanning everything.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]