[cvs] commit: horde/lib Horde.php
Michael M Slusarz
slusarz at bigworm.colorado.edu
Sat Jul 26 00:05:21 PDT 2003
slusarz 2003/07/26 00:05:20 PDT
Modified files:
lib Horde.php
Log:
Since getAccessKey() is a fairly slow function, try to do a better job with
logic/caching to minimze calls to String:: functions. A quick check with
xdebug with rendering the IMP menu (with 11 menu elements) shows about a
22% speed improvement.
Additionally, highlightAccessKey() should not explicitly check for nls.php and
then use nls.php.dist if nls.php is not found. If the admin hasn't set up
their config files correctly, that is their fault - we shouldn't waste CPU
cycles every function load checking for this.
Revision Changes Path
1.312 +21 -16 horde/lib/Horde.php
Chora Links:
http://cvs.horde.org/diff.php/horde/lib/Horde.php?r1=1.311&r2=1.312&ty=u
More information about the cvs
mailing list