]> Sergey Matveev's repositories - public-inbox.git/commit
imap: further speed up HEADER.FIELDS FETCH requests
authorEric Wong <e@yhbt.net>
Wed, 10 Jun 2020 07:05:10 +0000 (07:05 +0000)
committerEric Wong <e@yhbt.net>
Sat, 13 Jun 2020 07:55:45 +0000 (07:55 +0000)
commit4aa27d61cbf10fdad098b20ae4bcef8f4893e531
tree648ada4a8f563fefeb1ebf7ecd5ad56ae3188bd8
parent12b21f035cc223ea3782bef7102160cc3f0ee214
imap: further speed up HEADER.FIELDS FETCH requests

Since headers are big and include a lot of lines MUAs don't
care about, we can skip the CRLF_HDR ops and just do the
CRLF conversion in partial_hdr_get and partial_hdr_not.
This is another 10-15% speedup for mutt w/o header caching.
lib/PublicInbox/IMAP.pm