dépôts
/
lhc
/
web
/
wiklou.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
more cssification of diff rendering, some " -> ' in diff engine
[lhc/web/wiklou.git]
/
includes
/
memcached-client.php
diff --git
a/includes/memcached-client.php
b/includes/memcached-client.php
index
3f0eb44
..
2752180
100644
(file)
--- a/
includes/memcached-client.php
+++ b/
includes/memcached-client.php
@@
-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);
}
// }}}