From 97d20525a64a61786d9038228ee23978e04032b6 Mon Sep 17 00:00:00 2001 From: Johannes Kalmbach Date: Thu, 18 Jul 2024 09:31:37 +0200 Subject: [PATCH] Smaller default milestone distance. --- src/index/vocabulary/InternalExternalCachingVocab.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/index/vocabulary/InternalExternalCachingVocab.h b/src/index/vocabulary/InternalExternalCachingVocab.h index bc093f7bfd..ae2395b122 100644 --- a/src/index/vocabulary/InternalExternalCachingVocab.h +++ b/src/index/vocabulary/InternalExternalCachingVocab.h @@ -113,7 +113,7 @@ class VocabularyInternalExternal { size_t milestoneDistance_; size_t sinceMilestone = 0; explicit WordWriter(const std::string& filename, - size_t milestoneDistance = 10'000) + size_t milestoneDistance = 1'000) : internalWriter_{filename + ".internal"}, externalWriter_{filename + ".external"}, milestoneDistance_{milestoneDistance} {}