Yonle on Nostr: xsync for concurrent map... meanwhile, i struggled with concurrent read/write map ...
xsync for concurrent map...
meanwhile, i struggled with concurrent read/write map operation when i was writing bostr2. i resolved it by reconstructing the code to use channels for solving the problem with concurrents.
Published at
2024-08-11 11:13:39Event JSON
{
"id": "6184c4a55a1bdeea4df22baa92b7c3e3bd1dc4d1c2762edb7ea034cf98b92d92",
"pubkey": "347a2370900d19b4e4756221594e8bda706ae5c785de09e59e4605f91a03f49c",
"created_at": 1723374819,
"kind": 1,
"tags": [
[
"imeta",
"url https://pomf2.lain.la/f/30r2urg0.png",
"blurhash L67BAm~q?b-;~qt7t7og?bRkxuof",
"dim 708x646"
]
],
"content": "xsync for concurrent map...\n\nmeanwhile, i struggled with concurrent read/write map operation when i was writing bostr2. i resolved it by reconstructing the code to use channels for solving the problem with concurrents.\nhttps://pomf2.lain.la/f/30r2urg0.png",
"sig": "e006224caf5cc0d504c0cfa126d49daad6c10eb8e0bbe9cde9e05d26629950498afffe1c5cdb00655f7b68ca2bea4d859114b663f54da6d9f933601241ab3f31"
}