Sybren A. Stüvel wrote:
I have near 200 contacts in my database, and text messages of up to 15 different people in my message box. It takes a long time to fetch all the names for those numbers, and I have to wait for it every time I open the messages window. As new SMS messages are not shown in the window as soon as they arrive (running shr-testing) I have to close and re-open the window every time I receive a message. My guess is that per month the total number of queries is at least 100x more than the number of times I add a new contact.
if you can speed up lookups then that would be very good. i wonder could a quick lookup be done based on the last 3 or 4 digits of the phone number. there is only a small change that it would resolve to more than 1 of your contacts. then all the numbers that match the last n digits can be checked with the current slow algorithm. sam _______________________________________________ Shr-devel mailing list [email protected] http://lists.shr-project.org/mailman/listinfo/shr-devel
