Difference between revisions of "Garbage Reduction"

From Kerbal Space Program Wiki
Jump to: navigation, search
(Created page with "==What is garbage, and why is it bad?== ==Measuring garbage production== [http://forum.kerbalspaceprogram.com/index.php?/topic/139128-113-memgraph-10010-with-stutter-reductio...")
(No difference)

Revision as of 05:42, 1 October 2016

What is garbage, and why is it bad?

Measuring garbage production

MemGraph can show you how much garbage KSP is creating. It is not broken down by mod, so to test a specific mod you'll need a copy of KSP with only that mod installed.

Best practices to avoid creating garbage

  • avoid foreach
  • using System.Linq