about summary refs log tree commit homepage
path: root/lib/PublicInbox/MsgIter.pm
diff options
context:
space:
mode:
authorEric Wong <e@yhbt.net>2020-05-08 01:59:01 +0000
committerEric Wong <e@yhbt.net>2020-05-09 00:55:25 +0000
commitdc7dc9ef49e3d396d2b47fa2befd1718aff45f0d (patch)
treefb35ed078a60c1f7654a8677bc9299f69f97b4bf /lib/PublicInbox/MsgIter.pm
parentb714ab45d30d6f0298d73ef4281c1d0263a02493 (diff)
downloadpublic-inbox-dc7dc9ef49e3d396d2b47fa2befd1718aff45f0d.tar.gz
Encode lazy-loads encodings on an as-needed basis.  This is
great for short-lived programs, but leads to fragmentation in
long-lived daemons where immortal allocations can get
interleaved with short-lived, per-request allocations.

Since we have no idea which encodings will be needed when
there's a constant flow of incoming mail, just preload
everything available at startup.
Diffstat (limited to 'lib/PublicInbox/MsgIter.pm')
0 files changed, 0 insertions, 0 deletions