Skip to content

Commit

Permalink
Use sort instead of stable_sort to speed up -eval
Browse files Browse the repository at this point in the history
  • Loading branch information
bhklein committed Sep 16, 2015
1 parent ac231de commit c630593
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion openbr/core/eval.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -234,7 +234,7 @@ float Evaluate(const Mat &simmat, const Mat &mask, const File &csv, const QStrin
if (impostorCount == 0) qFatal("No impostor scores!");

// Sort comparisons by simmat_val (score)
std::stable_sort(comparisons.begin(), comparisons.end());
std::sort(comparisons.begin(), comparisons.end());

QList<OperatingPoint> operatingPoints;
QList<OperatingPoint> searchOperatingPoints;
Expand Down

0 comments on commit c630593

Please sign in to comment.