]> Sergey Matveev's repositories - public-inbox.git/commit
daemon: reduce timer-related allocations
authorEric Wong <e@80x24.org>
Sun, 1 May 2016 10:14:28 +0000 (10:14 +0000)
committerEric Wong <e@80x24.org>
Sun, 1 May 2016 10:14:28 +0000 (10:14 +0000)
commitc3756b2ef7af9a2f0385f1069c228ccea334ada6
treeaca7a574e96a30e20c78cf136064be80ceea69ed
parent2a3554b1acd18d3b2904147ce0893cfec02d83a6
daemon: reduce timer-related allocations

We can reduce the allocation and overhead needed for
Danga::Socket timers for immediately-executed responses by
combining identical timers and reducing anonymous sub creation.
lib/PublicInbox/HTTP.pm
lib/PublicInbox/NNTP.pm