jb55 on Nostr: researching a way to build a minimal perfect hashmap of words to store alongside the ...
researching a way to build a minimal perfect hashmap of words to store alongside the binary note in nostrdb so that nostrdb clients (damus ios, damus notedeck, zaptream rust) can do O(1) mute word matching, which is pretty important for performance when you have 100s of mute words.
Published at
2024-11-20 19:38:38Event JSON
{
"id": "70fc146a8bbde7628cef73e54e96455eba0e05ba567ef491bf08ead9cd547700",
"pubkey": "32e1827635450ebb3c5a7d12c1f8e7b2b514439ac10a67eef3d9fd9c5c68e245",
"created_at": 1732131518,
"kind": 1,
"tags": [],
"content": "researching a way to build a minimal perfect hashmap of words to store alongside the binary note in nostrdb so that nostrdb clients (damus ios, damus notedeck, zaptream rust) can do O(1) mute word matching, which is pretty important for performance when you have 100s of mute words.",
"sig": "2c7f71349991fb4aa3bf6bf29aeafe927cd2852b3f1f2801e57b854f53b894b9f6df72e684db890fc97740b0477b5378784b4dd4795632f305d6d09d070e292c"
}