sdbm_hash: SDBM Hash Function

Description Usage Arguments Value References Examples

View source: R/RcppExports.R

Description

This algorithm was created for sdbm (a public-domain reimplementation of ndbm) database library. it was found to do well in scrambling bits, causing better distribution of the keys and fewer splits. It also happens to be a good general hashing function with good distribution.

Usage

1

Arguments

x

character vector of strings to hash

Value

numeric vector of the hashes of x

References

http://www.cse.yorku.ca/~oz/hash.html

Examples

1
2

hrbrmstr/hrbrmiscpp documentation built on May 17, 2019, 5:08 p.m.