]> Sergey Matveev's repositories - public-inbox.git/commit
shared_kv: simplify PID+object guard for cleanup
authorEric Wong <e@80x24.org>
Fri, 29 Jan 2021 07:43:00 +0000 (12:43 +0500)
committerEric Wong <e@80x24.org>
Sat, 30 Jan 2021 01:08:21 +0000 (01:08 +0000)
commit12a067a41430f579f5a3cea4e2d027242e604f72
tree594b35e3bf33766c5ff3eaa771f2985afa107ba7
parentc0365a9fae1a72707fb78249861c80fed582d89b
shared_kv: simplify PID+object guard for cleanup

We don't need another hash slot when we can encode the object ID
and PID owner into the field name itself.
lib/PublicInbox/SharedKV.pm
t/shared_kv.t