[cvs] commit: framework/Cache/Cache memcache.php

Michael M Slusarz slusarz at horde.org
Mon May 21 11:00:30 UTC 2007


slusarz     2007-05-21 07:00:30 EDT

  Modified files:
    Cache/Cache          memcache.php 
  Log:
  Improved performance of memcache cache driver.  Cache results of exists() call
  since we will likely use the same data in a (almost sure to follow) get() call.
  Use single memcache call to get both data and expire time.  Don't reset expire
  timestamp on exists()/get() call - that is not the purpose of the timestamp
  parameter.  Use shorter expire key name (every byte counts!).  Honor the
  user-defined prefix.  Elimiate some unneeded variable definitions.
  
  Revision  Changes    Path
  1.11      +61 -66    framework/Cache/Cache/memcache.php

  Chora Links:
  http://cvs.horde.org/diff.php/framework/Cache/Cache/memcache.php?r1=1.10&r2=1.11&ty=u


More information about the cvs mailing list