The number of calls look pretty interesting. For example,
there are almost five thousand calls to the RFC822
tokenizer when adding a single message to an archive.
Anyway, sounds like the easiest big programmatic
gains might come from get_time_from_index and
possibly reviewing some of the call counts. Another
possible win is reviewing resource files and see if
there are some unnecessary variables that can be
trimmed out. I'll go ahead and do the latter since it
is super easy.
Thanks for the thorough analysis.