Skip to content

Conversation

@artonge
Copy link
Contributor

@artonge artonge commented Dec 8, 2021

Rational

CloudIdManager::getDisplayNameFromContact specifically checks for a strictly matching cloudId in the results, so a LIKE query is superfluous.

This PR adds an option to use an equivalence query = in CardDavBackend::searchByAddressBookIds to improve matching speed. CloudIdManager::getDisplayNameFromContact now uses this option.

Follow up of #27884

@artonge artonge force-pushed the perf/make_like_optional_in_contacts_search branch from 1e14ef1 to 1580863 Compare December 8, 2021 15:07
@nickvergessen
Copy link
Member

Took over the bits into #30156

@artonge artonge closed this Dec 13, 2021
@skjnldsv skjnldsv deleted the perf/make_like_optional_in_contacts_search branch March 14, 2024 07:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants