Hi
I am writing some simulation software, and speed is crucial. I do at a particular step in my program have the following option:
either just 'double G[3][3][3][72]' is needed, or 'double GS[18][18][18][72]' is needed as well. So, if I declare the GS array and actually do not use it, will there be many cpu cycles spent? Should I write a special method for each case?
Best regards
Carlis.
			
			I am writing some simulation software, and speed is crucial. I do at a particular step in my program have the following option:
either just 'double G[3][3][3][72]' is needed, or 'double GS[18][18][18][72]' is needed as well. So, if I declare the GS array and actually do not use it, will there be many cpu cycles spent? Should I write a special method for each case?
Best regards
Carlis.
 
				
		 
			 
 
		 
 
		 
 
		 
 
		 
 
		 
 
		 
 
		
 Facebook
Facebook Twitter
Twitter