Skip to content

Commit

Permalink
Smaller default milestone distance.
Browse files Browse the repository at this point in the history
  • Loading branch information
joka921 committed Jul 18, 2024
1 parent 1caf71c commit 97d2052
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/index/vocabulary/InternalExternalCachingVocab.h
Original file line number Diff line number Diff line change
Expand Up @@ -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} {}
Expand Down

0 comments on commit 97d2052

Please sign in to comment.