* lib: threading: pre-sort the threaded results, add some more comments

This commit is contained in:
djcb
2012-10-17 17:59:33 +03:00
parent 9dd0e849a6
commit 8ad01e4aa8
4 changed files with 27 additions and 20 deletions

View File

@ -57,6 +57,9 @@ public:
_matches = _enq.get_mset (0, maxnum);
/* when threading, we calculate the threads for the
* set of matches, then requery/sort based on the
* threading */
if (threads && !_matches.empty()) {
_matches.fetch();