Use std::shared_mutex instead of std::mutex
kgorking opened this issue · comments
On windows, a std::mutex is 80 bytes vs 8 bytes for a std::shared_mutex, and runs slower.
Already done, apparently.
A header-only/importable c++20 implementation of an entity-component-system (ecs), with focus on a simple interface and speed.
kgorking opened this issue · comments
On windows, a std::mutex is 80 bytes vs 8 bytes for a std::shared_mutex, and runs slower.
Already done, apparently.