EC_MURMURHASH3(3)
β¨ EC_MURMURHASH3(3) β¨
okay so bestie, we're in the Libecoli Programmer's Manual rn and this is the ec_murmurhash3 page π it does exactly one thing and it does it gorgeously: it hands you a 32-bit murmurhash3. that's it. that's the whole vibe. π
πΈ NAME πΈ
ec_murmurhash3 β calculate a 32-bit murmurhash3. no cap, that's literally the job description. π¦
β¨ SYNOPSIS β¨
first things first, you gotta let it in:
#include <ecoli/murmurhash.h>
then it's giving function signature:
uint32_t ec_murmurhash3(
/*
* The key (the unaligned variable-length array of bytes).
*/
const void *key,
int len, /* The length of the key, counting by bytes. */
uint32_t seed /* Can be any 4-byte value initialization value. */
);
let's walk the params because they're all main characters here π
keyβ the key itself, aka the unaligned variable-length array of bytes. yes, unaligned, yes, variable-length, she contains multitudes πlenβ the length of the key, and we're counting by bytes, not vibes π«Άseedβ can be any 4-byte value initialization value. literally any one. go feral, pick your fave π
π RETURN VALUE π
a 32-bit hash. that's the tea. ββ¨
π¦ SEE ALSO π¦
the rest of the little hash family, all iconic, all worth a read:
iykyk π₯
π COPYRIGHT π
Copyright (C) 2010-2026 Olivier Matz, Robin Jarry.
and that's the whole page bestie, no crumbs left π this little libecoli moment was brought to you by the 2026-06-11 release of libecoli, and we're screaming EC_MURMURHASH3(3) one last time on the way out ππ
β¨
π¦ where this page comes from
- fedora 44: libecoli-devel 0.11.7-1.fc44 Β· BSD-3-Clause AND LicenseRef-Fedora-Public-Domain
- fedora 44: libecoli-devel 0.11.7-1.fc44 Β· BSD-3-Clause AND LicenseRef-Fedora-Public-Domain
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms