]> Sergey Matveev's repositories - public-inbox.git/commit
sharedkv: use lock_for_scope_fast
authorEric Wong <e@80x24.org>
Mon, 1 Feb 2021 08:28:26 +0000 (22:28 -1000)
committerEric Wong <e@80x24.org>
Mon, 1 Feb 2021 11:38:19 +0000 (11:38 +0000)
commit7318712c430bdd15f4fb52cc6c4e10eeb7d0ded2
tree3e905c7cced5e32bd23c14f0df10588187342594
parentb436cf6e4794a32b3331a8727d10bf000ba55de2
sharedkv: use lock_for_scope_fast

This allows us to avoid repeated open() and close() syscalls
and speeds up the new xt/stress-sharedkv.t maintainer test
by roughly 7%.
MANIFEST
lib/PublicInbox/Lock.pm
lib/PublicInbox/SharedKV.pm
xt/stress-sharedkv.t [new file with mode: 0644]