Closed Catya3 closed 1 month ago
It depends on logic of specific runtime function
Also remember that the more locks we have the worse performance is
I feel like the way to increase performance is actually by reducing amount of goroutines and channels but I have no idea how to do so. Also that's just a feeling, not result of some benchmark
@Catya3 I will close this one
My answer is "Generally no, but it depends. It might make sense in specific cases. However, better to keep it simple for now"
I will add more to the description when I have time.
Short psuedocode example: