ZF-10064: Double function call
Description
I think that the constructor in Zend_Locale can get rid of one call:
$locale = self::_prepareLocale($locale);
I think this one is superfluous because setLocale() is called next, which does the same at line 1 of the function.
Comments
Posted by Thomas Weidner (thomas) on 2010-07-04T03:18:51.000+0000
Agreed to make the code be faster for 1 µs.