[cvs] commit: horde/lib/MIME Viewer.php

Michael M Slusarz slusarz at bigworm.colorado.edu
Thu Jun 19 14:27:19 PDT 2003


slusarz     2003/06/19 14:27:19 PDT

  Modified files:
    lib/MIME             Viewer.php 
  Log:
  array_key_exists() -> isset().
  Cache results of _getDriver().  Speeds performance of function up by 50%+
  (according to apd).
  Before:
  12.5  0.35  0.36   0.35  0.36   0.00  0.00    73   0.0048    0.0049            0 mime_viewer->_getdriver
  After:
  3.4  0.09  0.10   0.09  0.10   0.00  0.00    57   0.0016    0.0018            0 mime_viewer->_getdriver
  
  Revision  Changes    Path
  1.46      +26 -20    horde/lib/MIME/Viewer.php

  Chora Links:
  http://cvs.horde.org/diff.php/horde/lib/MIME/Viewer.php?r1=1.45&r2=1.46&ty=u


More information about the cvs mailing list