kgorking / ecs

A header-only/importable c++20 implementation of an entity-component-system (ecs), with focus on a simple interface and speed.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.