servicetalk
servicetalk copied to clipboard
Consider splitting `IoExecutor` and `Executor` from `GlobalExecutionContext`
We pick individual components from GlobalExecutionContext when users decide to override part of the ExecutionContext from client/server builders. Since GlobalExecutionContext is a singleton, it will create the IoExecutor and Executor even if they are not used.
For cases where none of the client/server uses the global IoExecutor or Executor, we may resources unnecessarily.
Related discussion:
https://github.com/servicetalk/servicetalk/pull/128#discussion_r225439299
Also related to #121