Package: mutt Version: 1.5.23-1 Hi there,
This is an upstream issue, but I'm reporting it to the Debian maintainer first to get an opinion on whether it's worth fixing. Rebuilding mutt with "-Dfgetc=fgetc_unlocked -Dfgets=fgets_unlocked" is sufficient to produce a 33% speedup reading mailbox files. Out of frustration I quickly profiled mutt to figure out why its mailbox routines were so slow, and locked glibc IO was top of the list. As far as I'm aware (and really that isn't very far), there is no case where mutt parses mail from a FILE* shared with another thread.. in fact the pthread APIs don't appear to be used in the source code at all. Debian could enable this at autoconf time, or it could be reported upstream. What do you think? Thanks, David -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org