]> Sergey Matveev's repositories - public-inbox.git/commit
extindex: minor cost reductions
authorEric Wong <e@80x24.org>
Sun, 10 Oct 2021 14:25:15 +0000 (14:25 +0000)
committerEric Wong <e@80x24.org>
Sun, 10 Oct 2021 23:29:53 +0000 (23:29 +0000)
commit9bc14f521223d63697a2f13986c71f4b0226e21b
treececd3d19256dfba02f67ef1ade097a29310312d5
parenta9ccb76649432e8fb17a8cf1189ac65de1da2d81
extindex: minor cost reductions

Don't bother decoding the 20-byte SHA-1 to a 40-byte hex value
since we don't read it, anyways.  We can also use the on-stack
ibx->eidx_key value instead of dispatching the method again.
lib/PublicInbox/ExtSearchIdx.pm