[Logicmail-users] Performance improvements and caution (build 203)
Brought to you by:
octorian
From: Derek K. <dko...@lo...> - 2010-08-21 20:06:55
|
Build 203 should be available shortly. This is probably the biggest change I've committed at once in quite a long time. So if it blows up in your face (which it very well may), feel free to drop back to build 202. (just let me know in useful detail so I can debug it) From the user-perspective, you'll notice two things: 1) Freshly opening a mail folder (at least /w IMAP) may be twice as fast, or more. 2) Saving larger attachments (/w IMAP) should actually work now. Of course, to do this, I had to do three things that could cause LM to blow up in your face, if there are lurking bugs :-) 1) Changed how data gets from the network connection to the rest of the application (keeping data as a byte[] as long as possible, only making Strings when necessary, and a few other things) 2) Completely rewrote the core piece of the IMAP parser (the old code was slow and ugly, the new code is simple and fast) 3) Made saving messages to the SDCard happen on a separate thread from downloading/displaying them In doing all of this, I was also able to remove a lot of hacks and workaround that were necessary with the old and crusty low-level code. So hopefully everyone will be happy in the long run. Just be forewarned :-) -- ---------------------------- Derek Konigsberg dko...@lo... ---------------------------- |