On Donnerstag, 24. Oktober 2013 13:21:49 CEST, Mike Cardwell wrote:
When I click it in the message list in Thunderbird, it takes
2 seconds to display it in the preview pane. In Trojita, the
same action takes 6 times longer at 12 seconds.

Let's assume both are locally cached (so no network impact)
-> I bet on markup, wrapping & css

It might be reasonable to open ridiculously HUUUUUGE texts completely unprocessed, ie. 
<pre></pre> and no plainTextToHtml nor setting fancy css or wrapping 
flowedFormat.

Or -actually- would it make sense to just silently turn them into an attachment 
(so the user doesn't get the hyperdownload by selecting the mail) - eg. if 
RFC822.SIZE is > 96kB or so?
Trojita could then replace the RFC822.TEXT with an internal message "Hello. This is 
a warning from your friendly MUA. Somebody spammed you a HUUUUUUGE mail. I didn't fetch 
it, but if you want to see the message, it's available as attachment. Have a nice 
day."

Cheers,
Thomas

Reply via email to