summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorTyge Løvset <[email protected]>2021-10-28 21:39:49 +0200
committerTyge Løvset <[email protected]>2021-10-28 21:39:49 +0200
commit7e8f50e8f36a07ba14bd937a35a6ef1b26b3f412 (patch)
tree23671b2dadcda05a0462181a41d33ade3e111284
parent583a0ac357dba6b8c35db7450e8286469516a3b9 (diff)
downloadSTC-modified-7e8f50e8f36a07ba14bd937a35a6ef1b26b3f412.tar.gz
STC-modified-7e8f50e8f36a07ba14bd937a35a6ef1b26b3f412.zip
Reduce mem usage in shootout4_crand.
-rw-r--r--benchmarks/shootout4_crand.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/benchmarks/shootout4_crand.cpp b/benchmarks/shootout4_crand.cpp
index 455fcb80..e3524766 100644
--- a/benchmarks/shootout4_crand.cpp
+++ b/benchmarks/shootout4_crand.cpp
@@ -98,7 +98,7 @@ using namespace std;
int main(void)
{
enum {N = 2000000000};
- uint64_t* recipient = new uint64_t[N];
+ uint16_t* recipient = new uint16_t[N];
static stc64_t rng;
init_state(rng.state, 12345123);
std::mt19937 mt(12345123);