Is there a common practice how to make freeing memory for Garbage Collector easier in .NET?
Posted
by MartyIX
on Stack Overflow
See other posts from Stack Overflow
or by MartyIX
Published on 2010-04-26T15:49:25Z
Indexed on
2010/04/26
15:53 UTC
Read the original article
Hit count: 214
I've been thinking if there's a way how to speed up freeing memory in .NET. I'm creating a game in .NET (only managed code) where no significant graphics is needed but still I would like to write it properly in order to not to lose performance for nothing.
For example is it useful to assign null value to objects that are not longer needed? I see this in a few samples over Internet.
Thanks for answers!
© Stack Overflow or respective owner