Why Nostr? What is Njump?
2025-06-03 05:29:21
in reply to

mleku on Nostr: i use badger pretty much religiously for most system-wide shared data anyway, and ...

i use badger pretty much religiously for most system-wide shared data anyway, and that requires writing accessors anyway and it's concurrent safe

pretty much the main time i use maps is when i am deduplicating keys on a data structure that is basically a key/value... i could even just use sort and write the whole thing as an iteration but it's easier to think about it just copy the key/values to a map and then iterate it back to the slice with all duplicate keys removed.

i basically don't use maps for anything else, except avoiding duplicate records, because if the data set is much bigger than that it's a candidate for storage in the database
Author Public Key
npub1fjqqy4a93z5zsjwsfxqhc2764kvykfdyttvldkkkdera8dr78vhsmmleku