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.

"Kill the Wabbit, Kill the Wabbit, Kill the Wabbit!" -- Looney Tunes, "What's Opera Doc?" (1957, Chuck Jones)