Wasting some more bandwidth

I created two new tinymail demos. The first new one has some “go offline”, “go online” and some other tests. If you look carefully, you can see that I trigger a bug that causes the GNOME Hackers mailing list not to get displayed. Very strange. I guess I’ll need to figure out what was happening with that specific folder. Btw. I noticed that loading the summary file of a folder with > 15,000 headers makes the device unresponsiveness. I think (and hope) the mmap() idea will make a big difference for opening huge folders on the device.

The second new demo shows performance. First opening folders while being online, which takes longer because then the folders will be synchronized with the IMAP server. Then in offline mode, which shows the true speed of tinymail. Most folders in these demo’s have ~1,000 messages each. Without the mmap summary idea implemented, expect to load max. ~4,000 headers per active folder with tinymail on a Nokia 770. With the mmap implementation, the maximum amount will be at, I think (estimation), 50,000 or 100,000 headers per active folder.During the demo, I (for privacy reasons) tried making sure I only show spam and/or messages that are also public comments on for example my blog. If you see me searching for a message, I’m searching for such messages ;-).