farmhash: Compute a 'FarmHash' digest for a vector of strings

View source: R/RcppExports.R

farmhashR Documentation

Compute a 'FarmHash' digest for a vector of strings

Description

Compute a 'FarmHash' digest for a vector of strings

Usage

farmhash(sv)

Arguments

sv

Vector of strings for which a hash digest is requested

Value

A vector of integer64 values (using the bit64 package to ‘decode’ the appropriate binary payload from a numeric vector).

Examples

if (requireNamespace("bit64", quietly=TRUE)) {
   suppressMessages(library(bit64))
}
farmhash(c("foo", "bar", "baz"))

RcppFarmHash documentation built on Sept. 9, 2023, 5:07 p.m.