Global array

Paul via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Thu Dec 11 12:56:00 PST 2014


Is there any merit (or folly!) in storing a large array, that 
frequently needs to be accessed globally, within a class like so:

public class classMap{
	
	public static int[MAPSIZE][MAPSIZE] map;

}

Or is there a proper 'D' way to do this?

TIA




More information about the Digitalmars-d-learn mailing list