Menu

#14 improve performance

open
nobody
5
2010-03-27
2010-03-27
Anonymous
No

Currently, switching mailboxes (especially the first time you visit one after launching the app) is much too slow.

Some profiling has shown that 94% of that time is spent in EmailMessage.=Source. In other words, it's lousy code inside RB's EmailMessage class that is much too slow (probably because it's using CountFields and NthFields — bad programmer, Mike, no biscuit!).

To fix this we'll need to make Message no longer a subclass of EmailMessage, but instead have it be a wrapper or replacement. Given that EmailMessage doesn't do much correctly or well, we might just make a replacement.

Discussion


Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.