On Mon, Mar 22, 2010 at 10:46 AM, Tomas Kuliavas
> C. Bensend wrote:
>> Hey folks,
>> After vetting 1.4.20 on a development server, I rolled it out to
>> my colocated server successfully.
>> Since then, the performance in the web interface has taken a
>> pretty bad hit. With 1.4.19, bringing up each email was almost
>> instantaneous, now there is a several second lag between each one
>> I'm not complaining, the performance is still acceptable, it's
>> just a mild annoyance. Has anyone else seen any performance hits
>> with 1.4.20?
> Mailbox listing in 145 ms on 1.4.19 vs 403 ms on 1.4.20.
> sm_truncate_string() has performance issues.
The issue is the array_walk() in sq_mb_list_encodings(), which does
not cache its results. The attached patch is still slower than the
pre-1.4.20 code, but it's much closer. Testing and feedback is
Please support Open Source Software by donating to SquirrelMail!