about summary refs log tree commit homepage
path: root/lib/PublicInbox/View.pm
diff options
context:
space:
mode:
authorEric Wong <e@80x24.org>2016-10-05 23:47:17 +0000
committerEric Wong <e@80x24.org>2016-10-05 23:52:07 +0000
commit172416d1cd465da4242cc744a3f309d307f1311d (patch)
tree99800009e9a7707536978338e862091bfb6823ff /lib/PublicInbox/View.pm
parent08913d1b05e32a7415cbe8afc3c229d108817de8 (diff)
downloadpublic-inbox-172416d1cd465da4242cc744a3f309d307f1311d.tar.gz
Introduce our own SearchThread class for threading messages.
This should allow us to specialize and optimize away objects
in future commits.
Diffstat (limited to 'lib/PublicInbox/View.pm')
-rw-r--r--lib/PublicInbox/View.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/PublicInbox/View.pm b/lib/PublicInbox/View.pm
index a3b26814..9f1bf460 100644
--- a/lib/PublicInbox/View.pm
+++ b/lib/PublicInbox/View.pm
@@ -749,8 +749,8 @@ sub msg_timestamp {
 
 sub thread_results {
         my ($msgs) = @_;
-        require PublicInbox::Thread;
-        my $th = PublicInbox::Thread->new(@$msgs);
+        require PublicInbox::SearchThread;
+        my $th = PublicInbox::SearchThread->new($msgs);
         $th->thread;
         $th->order(*sort_ts);
         $th