1
General / Single instance of a class
« on: February 10, 2009, 04:52:07 am »
Then after you look up singleton, forget you looked it up. If you only want one instance of a class then only create one instance. Its just that easy. See http://scientificninja.com/advice/performant-singletons for more information.