]> Sergey Matveev's repositories - public-inbox.git/commit
ds: flatten $EXPMAP, delete entries on close
authorEric Wong <e@yhbt.net>
Sun, 12 Jan 2020 21:17:55 +0000 (21:17 +0000)
committerEric Wong <e@yhbt.net>
Mon, 13 Jan 2020 23:21:31 +0000 (23:21 +0000)
commit8775167475d8bfc25d532b777147a8b1ef1cd99b
tree015686eb8912c33ba89a1e197711ca1cc7a30090
parent3874e93d923a3f23816cf307c257120c6941cad2
ds: flatten $EXPMAP, delete entries on close

We can reduce the amount of small arrayrefs in memory
by flattening $EXPMAP.  This forces us to properly clean
up references during deferred close handling, so NNTP
(and soon HTTP) connections no longer linger until expiry.
lib/PublicInbox/DS.pm