]> Sergey Matveev's repositories - public-inbox.git/commit
thread: use hash + array instead of hand-rolled linked list
authorEric Wong <e@80x24.org>
Wed, 5 Oct 2016 23:47:29 +0000 (23:47 +0000)
committerEric Wong <e@80x24.org>
Wed, 5 Oct 2016 23:53:35 +0000 (23:53 +0000)
commit30100c46326e2eac275e0af13116636701d2537e
treee8d6c86f73bdbc779ee2bdd5b1f4377bfb615148
parent3c9dd6619f825f0515e7e4afa1bd55c99c1a68d3
thread: use hash + array instead of hand-rolled linked list

This starts to show noticeable performance improvements when
attempting to thread over 400 messages; but the improvement
may not be measurable with less.

However, the resulting code is much shorter and (IMHO)
much easier to understand.
MANIFEST
lib/PublicInbox/SearchThread.pm
lib/PublicInbox/View.pm
t/thread-cycle.t [new file with mode: 0644]