forked from weaselab/conflict-set
Skip sorting if already sorted for skip list
This commit is contained in:
1 parent
400350946c
commit
c46f633dbf
1 file changed
+3
-1
+3
-1
@@ -767,7 +767,9 @@ struct __attribute__((visibility("hidden"))) ConflictSet::Impl {
|
||||
false, true);
|
||||
}
|
||||
|
||||
sortPoints(points);
|
||||
if (!std::is_sorted(points.begin(), points.end())) {
|
||||
sortPoints(points);
|
||||
}
|
||||
|
||||
int activeWriteCount = 0;
|
||||
std::vector<std::pair<StringRef, StringRef>> combinedWriteConflictRanges;
|
||||
|
||||
Reference in new issue
Block a user