Reuse the same data when inReplyTo and References are equal

Authored by mwolff on Sep 22 2017, 7:14 PM.

Description

Reuse the same data when inReplyTo and References are equal

This is only sharing the data within a single mail. It could
be optimized even further by reusing the same instance for every
thread. But I think that's not easy without implementing threading
on the server side.

This decreases peak memory consumption by ~100MB on my mails, when
opening the LKML folder.

Depends on new KMime API (cf. https://phabricator.kde.org/D7920).

Reviewed By: vkrause
Differential Revision: https://phabricator.kde.org/D7921

Details

Committed
mwolffSep 25 2017, 12:49 PM
Reviewer
vkrause
Differential Revision
D7921: Reuse the same data when inReplyTo and References are equal
Parents
R44:e7c557a1be8d: Port to new connect api
Branches
Unknown
Tags
Unknown