Do not parallel (make concurrent) everything #392
emil14
started this conversation in
Optimization
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Let's take this simple sequential flow
There's nothing to parallel here. And yet we will parallel everything by spawning three goroutines. If only compiler/runtime would be smart enough to figure out where we need to use concurrency and where it doesn't make any sense, that would be awesome
Beta Was this translation helpful? Give feedback.
All reactions