© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
C#C
C#•11mo ago•
26 replies
AllMight

Maybe the case for object pooling?

I have a large array I am processing. Each item is a large object that has multiple processors (classes with state).
Creating those 10 for example proccessors for every item in the list will be expensive.
Should I use something like object pooling? So I create the processor once and reuse it using a reset pattern? What's the best way to handle it?
Also maybe there is a better alternative to classes altogethe?
C# banner
C#Join
We are a programming server aimed at coders discussing everything related to C# (CSharp) and .NET.
61,871Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

❔ Maybe Disposable Object
C#CC# / help
3y ago
Recursion, help finding the base case?
C#CC# / help
2y ago
✅ why does the test case fail?
C#CC# / help
4y ago