silmeth 🇺🇦 on Nostr: npub129gva…e4kwg btw, tried to sprinkle rayon on top of my day 14.2 solution – ...
npub129gvast08lj986yftn7q5qlnj8yfqufxx0m33s9u5xssjm8c64rsve4kwg (npub129g…4kwg) btw, tried to sprinkle rayon on top of my day 14.2 solution – but it only made it significantly worse.
I guess sending mutable subslices across threads throws the cache coherence out the window and synchronization becomes much more expensive than whatever speed-up is gained by doing a few calculations on multiple cores.
Published at
2023-12-15 10:10:56Event JSON
{
"id": "f324ed21bba60836e1314ec814fcb9cdc86605a722ec17c61ea101d29d3a4ff1",
"pubkey": "85835e541a8a12de27b0cc016bc84eeffb8ea1969d9ae8d6e83cb6ee1802df30",
"created_at": 1702635056,
"kind": 1,
"tags": [
[
"p",
"5150cec16f3fe453e8895cfc0a03f391c890712633f718c0bca1a1096cf8d547",
"wss://relay.mostr.pub"
],
[
"p",
"979383f8767c5d795fcad86f82dc7b38b384c1a473710c433014dc2c0fb0e359",
"wss://relay.mostr.pub"
],
[
"proxy",
"https://mstdn.social/users/silmeth/statuses/111583891045925880",
"activitypub"
]
],
"content": "nostr:npub129gvast08lj986yftn7q5qlnj8yfqufxx0m33s9u5xssjm8c64rsve4kwg btw, tried to sprinkle rayon on top of my day 14.2 solution – but it only made it significantly worse.\n\nI guess sending mutable subslices across threads throws the cache coherence out the window and synchronization becomes much more expensive than whatever speed-up is gained by doing a few calculations on multiple cores.",
"sig": "d947169e4a9ddfa12b0fa6626a922f077df8425b38c0a0be2e0bda70a59790689f0e01babf1268c4d33ae59bde34fe72cbf30ac33e687c5f1dd87b1d5c3a54d4"
}