robin-es.user.js
// hash string so finding spam doesn't take up too much memory
hash string so finding spam doesn't take up too much memory
hash string so finding spam doesn ' t take up too much memory
function hashString(str) {
    var hash = 0;
    if (str !== 0) {
        for (i = 0; i < str.length; i++) {
            char = str.charCodeAt(i);
            if (str.charCodeAt(i) > 0x40) { 
                hash = ((hash << 5) - hash) + char;
                hash = hash & hash; 
            }
        }
    }
    return hash;
}
function hashString ( str ) { var hash = 0 ; if ( str !== 0 ) { for ( i = 0 ; i < str . length ; i ++ ) { char = str . charCodeAt ( i ) ; if ( str . charCodeAt ( i ) > 0x40 ) { hash = ( ( hash << 5 ) - hash ) + char ; hash = hash & hash ; } } } return hash ; }
hash string so finding spam doesn't take up too much memory
hash string so finding spam doesn ' t take up too much memory
// Let's try to not include the number in the hash in order to filter bots // Convert to 32bit integer