From: Eric Wong Date: Sat, 5 Sep 2015 09:16:19 +0000 (+0000) Subject: extmsg: add note about the deficiency of the implementation X-Git-Tag: v1.0.0~898 X-Git-Url: http://www.git.stargrave.org/?p=public-inbox.git;a=commitdiff_plain;h=c9555b3a643940095ab7da8c2b9115dfe7a2fbac extmsg: add note about the deficiency of the implementation ref: http://public-inbox.org/meta/20150905091457.GA27857@dcvr.yhbt.net/ --- 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;