summaryrefslogtreecommitdiffstats
path: root/openpgp/LICENSE.txt
diff options
context:
space:
mode:
authorJustus Winter <justus@sequoia-pgp.org>2023-07-05 15:02:04 +0200
committerJustus Winter <justus@sequoia-pgp.org>2023-07-05 15:02:04 +0200
commitbc7214228a10b613057a8c319534d2fd4560175f (patch)
tree1918e920192d43b2cef60d89921b43f5f52ddf36 /openpgp/LICENSE.txt
parentfe58f69466d947f51d7bd43e474f5fec2e8e7cc9 (diff)
openpgp: Don't put the packet body in the map unless we're buffering
- Previously, Sequoia would buffer packet bodies when mapping is enabled in the parser, even if the packet parser is not configured to buffer the bodies. This adds considerable overhead. - With this change, Sequoia no longer includes the packet bodies in the maps unless the parser is configured to buffer any unread content. - This makes parsing packets faster if you don't rely on the packet body in the map, but changes the default behavior. If you need the old behavior, please do adjust your code to buffer unread content.
Diffstat (limited to 'openpgp/LICENSE.txt')
0 files changed, 0 insertions, 0 deletions