« Return to Thread: Zend_Currency: Exceptionally slow instantiation.

Re: Zend_Currency: Exceptionally slow instantiation.

by thomasW :: Rate this Message:

Reply to Author | View in Thread

Why don't you set a cache as described in the docu to speed up the class ?
See Zend_Currency::setCache

Greetings
Thomas
I18N Team Leader


----- Original Message -----
From: "Jeff Welch" <whatthejeff@...>
To: <fw-i18n@...>
Sent: Thursday, October 25, 2007 11:05 PM
Subject: [fw-i18n] Zend_Currency: Exceptionally slow instantiation.


> On my local testing environment I've noticed that simply instantiating
> Zend_Currency takes exceptionally long (1.5 - 2 seconds).
>
> Examples:
>
> $currency = new Zend_Currency('en_US'); // takes 1.5 - 2 seconds.
>
> I'm running PHP 5.2.1 with the latest snapshot on Mac OS X 10.4.1.  Any
> ideas?
>

 « Return to Thread: Zend_Currency: Exceptionally slow instantiation.