more cssification of diff rendering, some " -> ' in diff engine
[lhc/web/wiklou.git] / includes / memcached-client.php
index 3f0eb44..2752180 100644 (file)
@@ -737,13 +737,7 @@ class memcached
     */
    function _hashfunc ($key)
    {
-      $hash = 0;
-      for ($i=0; $i<strlen($key); $i++)
-      {
-         $hash = $hash*33 + ord($key[$i]);
-      }
-      
-      return $hash;
+      return crc32($key);
    }
 
    // }}}