Closed Trim closed 5 years ago
The rest I will have to look at when I have more time.
My comments here need to be taken in context of your earlier replies.
Thanks for your answers, I've added the commits to improve that branch.
Thank you very much once again @Trim!
I had some fun on auto complete feature rewrite :)
IIRC, the auto complete address book search was not very fast, that's why I started to rewrite it.
The rewrite main goal was to get ride of loops inside this code as it could be a big cost if there's many contacts in the result set.
To do that, I need to have two lists:
So we can be very fast to find Cards either by giving us another instance of the same card by looking in the first list. We are also fast when we ask us about details with indexes as we first search the localid directly in the second list.
I took opportunity too to: