The usage of lock is very very limited, basically a couple of one-off operations, meaning they'll happen at most once per application lifetime and not for every call or similar. Since there will not be any noticeable improvement, and considering I would need to add an extra hard dependency (which in general is something I'd like to avoid as much as possible) I prefer not to proceed with this.
Hi @MarkCiliaVincenti , thanks for the PR.
The usage of
lock
is very very limited, basically a couple of one-off operations, meaning they'll happen at most once per application lifetime and not for every call or similar. Since there will not be any noticeable improvement, and considering I would need to add an extra hard dependency (which in general is something I'd like to avoid as much as possible) I prefer not to proceed with this.