Why Nostr? What is Njump?
2025-06-01 20:22:51
in reply to

mleku on Nostr: i have never bothered to use it, fiatjaf uses some other library, it's used ...

i have never bothered to use it, fiatjaf uses some other library, it's used extensively for concurrent safe maps in several of his repos.

i personally try to avoid using maps because they are double indirection and essentially are key/value stores and the naive basic map in Go is not designed for this, you need to keep your maps within a thread and within a type's boundaries.

i often use them for set operations though, they are a perfect fit for creating a set union, for example, and for the same reason can do set differences quite efficiently.
Author Public Key
npub1fjqqy4a93z5zsjwsfxqhc2764kvykfdyttvldkkkdera8dr78vhsmmleku