about summary refs log tree commit homepage
path: root/lib/PublicInbox/SearchView.pm
diff options
authorEric Wong <e@yhbt.net>2020-07-05 23:27:38 +0000
committerEric Wong <e@yhbt.net>2020-07-06 20:01:15 +0000
commit52a02a813a46940530183ede4d4cc7028290cd8f (patch)
tree4ff2be17559f6cbbe9f656aaa0a83b812b2d6bea /lib/PublicInbox/SearchView.pm
parent9eac193c72e1380972f3589cb6b4f36b79183233 (diff)
Like with WwwAtomStream and MboxGz, we can bless the existing
$ctx object directly to avoid allocating a new hashref.  We'll
also switch from "->" to "::" to reduce stack utilization.
Diffstat (limited to 'lib/PublicInbox/SearchView.pm')
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/PublicInbox/SearchView.pm b/lib/PublicInbox/SearchView.pm
index d53a533e..71c3ae70 100644
--- a/lib/PublicInbox/SearchView.pm
+++ b/lib/PublicInbox/SearchView.pm
@@ -82,7 +82,7 @@ retry:
                         $cb = mset_summary($ctx, $mset, $q);
-        PublicInbox::WwwStream->response($ctx, $code, $cb);
+        PublicInbox::WwwStream::response($ctx, $code, $cb);
 # display non-nested search results similar to what users expect from