Performance optimization in resource identification.
author Sebastian Trueg
()
committer Sebastian Trueg
()
commit 08683854eab048ff76b188233b7285f3e6234810
tree ef8212e11395599e055934c8c4e9ea1ba1c5aa20
parent 6ef7ad8d503e38d7e76bc921b0aea8641bc4e2bb
Performance optimization in resource identification.

In case only a single identifying property exists we get a much much
much much faster query when avoiding all the optional and filter
terms.
Since this is the case for email identification this optimization
does actually make a difference in email indexing.

CCBUG: 286516
nepomuk/services/backupsync/lib/resourceidentifier.cpp