© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
C#C
C#•12mo ago•
45 replies
ElectricTortoise

What affects the speed of my code?

My code is searching a game tree and I'm trying to figure out why it is so slow using the profiler. Do I look at CPU or memory or GC? I was told that heap allocation is bad as my game tree is huge and constantly cloning heap memory will slow me down significantly.
C# banner
C#Join
We are a programming server aimed at coders discussing everything related to C# (CSharp) and .NET.
61,871Members
Resources
Recent Announcements

Similar Threads

Was this page helpful?

Similar Threads

✅ Review my Code of Pong
C#CC# / help
8mo ago
✅ Strange output of my code
C#CC# / help
2y ago
✅ Case 3 of my code.
C#CC# / help
3y ago