Contacts.find is very slow and freezes app

Hello together

I have problems with preformance of contacts.find. In iOS I have almost 3000 contacts and if I do contacts.find my app freezes.

I tried everything, also async…I’m completely stuck.

Does anyone have a solution for that as this issues should occur in almost every which uses contacts.find.

One solution could be calling contacts in 100 batches. But how to do so?

Does anyone have a solution?

Thank you so much for your help in advance