On Fri, Jul 17, 2026 at 09:52:50AM +0800, Kevin J. McCarthy wrote:
Kevin J. McCarthy (4):
 Fix memory leaks on error in main() and mmdf_parse_mailbox().
 Remove unneeded header->env checks.
 Simplify maildir_delayed_parsing().
 Remove maildir header_parsed bit.

I pushed patch 1 and 2 up to master.

But I chickened out on removing the "skip headers" optimization before
the sort in patch 3.

I'm testing another patch right now that still cleans up the function: removing the DO_SORT() macro and skip_duplicates() function, moving the sort before the loop, removing the header_parsed bit, and adding some comments. But it keeps the "skip entries without headers logic" so that I don't introduce any possible slowdowns to the code.

I'll send it to the list after a couple days of dogfood'ing it myself.

--
Kevin J. McCarthy
GPG Fingerprint: 8975 A9B3 3AA3 7910 385C  5308 ADEF 7684 8031 6BDA

Attachment: signature.asc
Description: PGP signature

Reply via email to