diff options
author | Eric Wong <e@80x24.org> | 2021-07-25 00:43:30 +0000 |
---|---|---|
committer | Eric Wong <e@80x24.org> | 2021-07-25 06:14:05 +0000 |
commit | 6d22fb90c9869248d8de18d62b64dfe58553a98f (patch) | |
tree | dbe1aec1d44d636c6d1dd11790b976d040ed082d /lib/PublicInbox/LeiSearch.pm | |
parent | 6449835281b15046c71e5cdad7e1a5c422de2fad (diff) | |
download | public-inbox-6d22fb90c9869248d8de18d62b64dfe58553a98f.tar.gz |
Reduce memory traffic and code, too.
Diffstat (limited to 'lib/PublicInbox/LeiSearch.pm')
-rw-r--r-- | lib/PublicInbox/LeiSearch.pm | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/PublicInbox/LeiSearch.pm b/lib/PublicInbox/LeiSearch.pm index 37bfc65e..79b2fd7d 100644 --- a/lib/PublicInbox/LeiSearch.pm +++ b/lib/PublicInbox/LeiSearch.pm @@ -42,9 +42,9 @@ sub _oid_kw { # retry_reopen callback } # returns undef if blob is unknown -sub oid_keywords { - my ($self, $oidhex) = @_; - my @num = $self->over->blob_exists($oidhex) or return; +sub oidbin_keywords { + my ($self, $oidbin) = @_; + my @num = $self->over->oidbin_exists($oidbin) or return; $self->retry_reopen(\&_oid_kw, \@num); } |