Refactor matchPathFilter to enable more advanced result sorting
ClosedPublic

Authored by mwolff on Apr 4 2018, 11:32 PM.

Details

Summary

We now return a plain int quality which is then used to sort the
matched filter items. This patch does not touch the sorting
behavior itself - this will be done in follow-up patches.
Most notably, I plan to allow finer grained sorting of the
OhterMatch category, such that matches closer to the end of
the path are preferred.

The benchmark shows no big difference before/after this patch,
giving me confidence that I'm not introducing any big
performance changes.

Diff Detail

Repository
R32 KDevelop
Lint
No Linters Available
Unit
No Unit Test Coverage
mwolff created this revision.Apr 4 2018, 11:32 PM
Restricted Application added a subscriber: kdevelop-devel. · View Herald TranscriptApr 4 2018, 11:32 PM
mwolff requested review of this revision.Apr 4 2018, 11:32 PM
This revision was not accepted when it landed; it landed in state Needs Review.Apr 9 2018, 6:31 PM
This revision was automatically updated to reflect the committed changes.