Closed jnalanko closed 4 years ago
Hello,
I have the following code:
#include "sux/function/RecSplit.hpp" using namespace sux::function; int main() { vector<hash128_t> keys; for (int i = 0; i < 10000; i++) { keys.push_back(hash128_t(0, i)); } RecSplit<8> RS(keys, 100); }
Compiled with g++ -std=c++17, this crashes with a segmentation fault. If the loop goes up to only 1000, it works. Why is that? Thanks.
g++ -std=c++17
Please read the docs.
/* 128-bit hashes.
Sorry and thank you!
Hello,
I have the following code:
Compiled with
g++ -std=c++17
, this crashes with a segmentation fault. If the loop goes up to only 1000, it works. Why is that? Thanks.