Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Small improvement: using lock_guard instead of unique_lock #14

Merged
merged 1 commit into from
Jan 19, 2020

Conversation

hyperxor
Copy link
Contributor

Hello,

I want to propose small improvement: using std::lock_guard instead of std::unique_lock. The size of std::unique_lock is 16 bytes, the size of std::lock_guard is 8 bytes. We can change using std::unique_lock without any problems because locks are trivial.

@p-ranav p-ranav merged commit 1cba7fd into p-ranav:master Jan 19, 2020
@p-ranav
Copy link
Owner

p-ranav commented Jan 19, 2020

Thanks!

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants