diff options
author | Eric Wong <e@yhbt.net> | 2020-07-05 23:27:38 +0000 |
---|---|---|
committer | Eric Wong <e@yhbt.net> | 2020-07-06 20:01:15 +0000 |
commit | 52a02a813a46940530183ede4d4cc7028290cd8f (patch) | |
tree | 4ff2be17559f6cbbe9f656aaa0a83b812b2d6bea /lib/PublicInbox/SearchView.pm | |
parent | 9eac193c72e1380972f3589cb6b4f36b79183233 (diff) | |
download | public-inbox-52a02a813a46940530183ede4d4cc7028290cd8f.tar.gz |
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')
-rw-r--r-- | lib/PublicInbox/SearchView.pm | 2 |
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 |