Possibly yes, I can certainly see the source code is more efficient š
My memory related issue is isolated by running the wp cron separately through wp-cli (and in a randomly different version of PHP) so is not erroring or interfering with website operation, albeit lfd regularly sends me alerts about Excessive resource usage from the wp cron process. This week is a bit busy to take it much further due to GDPR and many related updates…