Microsoft.Extensions.ObjectPool #210
Code-Grump
started this conversation in
General
Replies: 1 comment
-
For 2) my answer would be a definite yes, but for 1) I feel that our needs are not complex enough to judge the pain that is introduced by having an additional dependency (which always have problems, because the user code might also depend on that with a different version). The best would be to update the ReqOverflow sample to use |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
A lot of the discussion around test execution has been the idea that we want to associate resources with "test threads" to allow limited object re-use. One of the alternatives to this is the pattern of object pooling - create the expensive resources as they're needed but return them to a shared pool and "rent" them for execution.
Microsoft offers an implementation of this pattern via the
Microsoft.Extensions.ObjectPool
package.Two questions then:
Beta Was this translation helpful? Give feedback.
All reactions