Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
IshKebab
· 1y ago · 0 comments
Sure, but sometimes shared mutable state
is
better, especially from a performance point of view. For example blurring an image.
Comments
[–]
janetpacker
1y ago
Isn't that a typical case where you don't have to share anything? Divide the image into N chunks, let N threads handle each one, no sharing, just need a single sync point at the end to wait on completion.