From c9555b3a643940095ab7da8c2b9115dfe7a2fbac Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Sat, 5 Sep 2015 09:16:19 +0000 Subject: extmsg: add note about the deficiency of the implementation ref: http://public-inbox.org/meta/20150905091457.GA27857@dcvr.yhbt.net/ --- lib/PublicInbox/ExtMsg.pm | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/PublicInbox/ExtMsg.pm b/lib/PublicInbox/ExtMsg.pm index 243b6bad..77537c2c 100644 --- a/lib/PublicInbox/ExtMsg.pm +++ b/lib/PublicInbox/ExtMsg.pm @@ -95,6 +95,8 @@ sub ext_msg { unshift @pfx, { srch => $ctx->{srch}, url => $url }; foreach my $pfx (@pfx) { my $srch = delete $pfx->{srch} or next; + + # FIXME we may need a proper prefix trie here... if (my $res = $srch->mid_prefix($mid)) { $n_partial += scalar(@$res); $pfx->{res} = $res; -- cgit v1.2.3-24-ge0c7