Foreach, Garbage

Topics: Developer Forum
Sep 17, 2012 at 7:22 AM


I was wondering if foreach loops should be changed into for loops in Farseer for better performance & carbage collection handling with XNA? Has anyone tried this yet? I'am trying to squeeze some more performance to my game and i came across to these blogs:


PS. Thanks for the great physics engine!