Become a fan of Slashdot on Facebook


Forgot your password?

Comment: Why allocate memory on the fly? (Score 1) 560

by metalmario (#21388907) Attached to: C# Memory Leak Torpedoed Princeton's DARPA Chances
Instead of doing lots of news and deletes on the fly, why not allocate enough memory when the program starts and use that instead? That way you won't fragment your memory pool either, or have those age long garbage collection sessions. Anyway, the topic of today is bad programming, move on, nothing to see here.

What is mind? No matter. What is matter? Never mind. -- Thomas Hewitt Key, 1799-1875