What is Nostr?
Josh Simmons /
npub1xcl…4zm4
2024-06-08 08:58:40
in reply to nevent1q…djm8

Josh Simmons on Nostr: for concrete examples: all our hash maps (in internal builds) have a version number ...

for concrete examples: all our hash maps (in internal builds) have a version number used to detect and assert on concurrent writes. when resizing our growing array, we fill the moved-from memory with a specific bit pattern, so it's really obvious in crash dumps when you've invalidated an iterator (but without the overhead of actually tracking iterator invalidation). stuff like that.
Author Public Key
npub1xclrxnaelc2zvakm2cmy88pr64vhpdu9050qgwhlv5d6lfeqpt4spu4zm4