This project is read-only.

Performance and Disposing Cell

May 22, 2009 at 8:53 AM


Do I need disposing cell every time I assign a new cell to a grid?

grid[0,0] = new Cell();

Is there any performance impact doing a lot of code like above? (I assign a new cell very often)






May 25, 2009 at 1:51 PM

Cell is not an IDisposable object, so you can not dispose it.

Design goals are that creating a lot of cells would not impact performance