[imp] message cache performance / parseAddressList

Matthew Dunham matthew.dunham at ic.ucsb.edu
Wed Aug 13 21:54:58 UTC 2008


Folks -

So I'm looking at cache performance in 4.2.1RC1. Once I've logged in and 
my mailbox cache has been populated, I still see IMP_UI_Mailbox->getFrom 
spending running parseAddressList every time I refresh a mailbox page.

It looks like the PEAR Mail_RFC822 parser is just doing a buncha address 
validation, but it's rather expensive performance-wise Is there any 
reason the getFrom stuff isn't cached? Can it be?

-- 
|||||||||||  Matthew E. Dunham
|||||  Instructional Computing
||||||||||||  UC Santa Barbara
||||||||||||||||  805 893 7687


More information about the imp mailing list