View Single Post
Posts: 249 | Thanked: 277 times | Joined on May 2010 @ Brighton, UK
#125
Originally Posted by computerinfo21 View Post
Makes sense, but wonder if the problems it would cause for software not aware of it would be worth it.
Perhaps. That's what dependency management's for though...
Originally Posted by computerinfo21 View Post
Also, seems that the conversations window only accesses a small subset of the data at a time anyway. ~30 messages at a time I think. If you try to scroll quickly you will notice a definite lag as it loads the next set when you get to the top of each screen.
Indeed. SQLite is awesome...but the most effective optimisation you can do in software development is do less. Moving the archive data out of the default searches makes finding the stuff you are likely to care about much quicker and more responsive. Less data means better caching. Less work means less instructions, means more spare CPU cycles. More spare CPU means longer battery life. I like having my archive with me...but even I rarely look back. You might do the odd search to find an old message or to see some interesting stats (yay, smscounter)...but even I'll admit that's a poor excuse for slowing down searches for the messages you're receiving now. Nokia recommends archiving your old messages...this is effectively doing that, but making them accessible to well-behaving applications that use the API. Nothing should break...they'll just get a smaller dataset. Perhaps longer than a week...maybe a month or two would be enough...
Originally Posted by computerinfo21 View Post
I think you were on to something with your post here about changing the way it updates the group cache. Perhaps threading & updating the cache with a different thread would avoid locking things and causing the corruption in the first place? I am no expert in this area, just musing out loud for those who are to consider.
Yeah...I think it's somewhat ironic that the caching used to make the conversations view work better causes so many problems
 

The Following User Says Thank You to mr_jrt For This Useful Post: