Project

General

Profile

Bug #6068 ยป 0001-modified-documentation-for-String-hash-to-clarify-th.patch

Anonymous, 02/23/2012 05:40 PM

View differences:

string.c
* call-seq:
* str.hash -> fixnum
*
* Return a hash based on the string's length and content.
* Return a hash based on the string's length and content, and a session local random seed. Note: Due to the random seed being generated at runtime hash values will not be consistent across sessions, if this is desired use Digest::SHA256 or another digest function
*/
static VALUE
    (1-1/1)