summaryrefslogtreecommitdiff
path: root/string.c
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2012-11-09 07:12:00 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2012-11-09 07:12:00 +0000
commit525cb66467ff22a50f2e6bf307924459d38cd592 (patch)
treecdf539d08cb2ac619a0376e7241f2b19eccd06b5 /string.c
parentfdbd3716781817c840544796d04a7d41b856d9f4 (diff)
siphash
* random.c (rb_memhash): use siphash. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37585 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'string.c')
-rw-r--r--string.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/string.c b/string.c
index 78beaa12d6..66af80d0bb 100644
--- a/string.c
+++ b/string.c
@@ -2197,12 +2197,6 @@ rb_str_prepend(VALUE str, VALUE str2)
}
st_index_t
-rb_memhash(const void *ptr, long len)
-{
- return st_hash(ptr, len, rb_hash_start((st_index_t)len));
-}
-
-st_index_t
rb_str_hash(VALUE str)
{
int e = ENCODING_GET(str);