Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Optimize|libdeng2|Lockable: Use automatic storage with Lockable
Lockable, as used by Guard, should not use the current pimpl idiom implementation as this allocates storage for the private instance from the heap. The multithreaded logging system makes frequent use of Guards for ensuring concurrency robustness. This inadvertently resulted in a significant and unnecessary perf bottleneck.
- Loading branch information
1 parent
6ace3b0
commit 7e863a4
Showing
2 changed files
with
23 additions
and
27 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters