diff options
| author | Stefan Boberg <[email protected]> | 2024-01-10 12:33:31 +0100 |
|---|---|---|
| committer | GitHub <[email protected]> | 2024-01-10 12:33:31 +0100 |
| commit | 304ff53705d6a0f5140ba9e82ce66d6d7f9cb554 (patch) | |
| tree | 306cfc79a45a0aac74124db358a3c2584bbfed89 /src/zencore/include | |
| parent | Merge branch 'main' of https://github.com/EpicGames/zen (diff) | |
| download | zen-304ff53705d6a0f5140ba9e82ce66d6d7f9cb554.tar.xz zen-304ff53705d6a0f5140ba9e82ce66d6d7f9cb554.zip | |
remove use of <random> in stats (#628)
the previous implementation was quite slow due to use of mt and uniform_distribution.
Diffstat (limited to 'src/zencore/include')
| -rw-r--r-- | src/zencore/include/zencore/stats.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/zencore/include/zencore/stats.h b/src/zencore/include/zencore/stats.h index 7e745dc16..f232cf2f4 100644 --- a/src/zencore/include/zencore/stats.h +++ b/src/zencore/include/zencore/stats.h @@ -7,7 +7,8 @@ #include <zenbase/concepts.h> #include <atomic> -#include <random> +#include <string_view> +#include <vector> namespace zen { class CbObjectWriter; |