Details
-
Type:
Improvement
-
Status:
Resolved
-
Priority:
Minor
-
Resolution: Fixed
-
Affects Version/s: 1.10.6
-
Fix Version/s: 1.10.7
-
Component/s: Zend_Locale
-
Labels:None
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.
Agreed to make the code be faster for 1 µs.