Skip to content

Commit 648c635

Browse files
committed
add disk writing manner and memoryprediction
1 parent 62a2ad4 commit 648c635

File tree

4 files changed

+158
-98
lines changed

4 files changed

+158
-98
lines changed

src/commons/Parameters.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2515,9 +2515,9 @@ void Parameters::setDefaults() {
25152515
resultDirection = Parameters::PARAM_RESULT_DIRECTION_TARGET;
25162516
weightThr = 0.9;
25172517
weightFile = "";
2518-
// TODO: change to true after fixing regression tests
2519-
matchAdjacentSeq = false;
2518+
matchAdjacentSeq = true;
25202519
hashSeqBuffer = 1.05;
2520+
numDiskBuffer = 0;
25212521

25222522
// result2stats
25232523
stat = "";

src/commons/Parameters.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -554,6 +554,7 @@ class Parameters {
554554
std::string weightFile;
555555
bool matchAdjacentSeq;
556556
float hashSeqBuffer;
557+
int numDiskBuffer;
557558

558559
// indexdb
559560
int checkCompatible;

0 commit comments

Comments
 (0)