Skip to content

RapidHash functions in the Hashfuncs DuckDB extension

Function category

RapidHash

1 function

[RapidHash](https://github.com/Nicoshev/rapidhash) is purpose-built for raw 64-bit throughput while keeping competitive distribution quality. Frequently the fastest published 64-bit non-cryptographic hash on x86_64 — reach for [`rapidhash`](#rapidhash) when [`xxh3_64`](#xxh3_64)'s speed isn't quite enough.

rapidhash

Scalar function RapidHash
Signature
2 overloaded forms · click to inspect
Arguments (Positional)
Argument value Type ANY Mode Positional Description
Description
1 Default
SELECT rapidhash('hello world');

Output

rapidhash('hello world')
3397907815814400320
2 Seeded
SELECT rapidhash('hello world', 2023);

Output

rapidhash('hello world', 2023)
11789095433300219990