Use enwik8 instead of enwik9 in benchmarks under 32 bit

This commit is contained in:
Peter Dimov 2022-12-03 15:32:04 +02:00
parent 46a2cd109f
commit 0bcd46a485
2 changed files with 16 additions and 0 deletions

View File

@ -41,8 +41,16 @@ static std::vector<std::string> words;
static void init_words()
{
#if SIZE_MAX > UINT32_MAX
char const* fn = "enwik9"; // http://mattmahoney.net/dc/textdata
#else
char const* fn = "enwik8"; // ditto
#endif
auto t1 = std::chrono::steady_clock::now();
std::ifstream is( fn );

View File

@ -39,8 +39,16 @@ static std::vector<std::string> words;
static void init_words()
{
#if SIZE_MAX > UINT32_MAX
char const* fn = "enwik9"; // http://mattmahoney.net/dc/textdata
#else
char const* fn = "enwik8"; // ditto
#endif
auto t1 = std::chrono::steady_clock::now();
std::ifstream is( fn );