Thread: Short/Integer
View Single Post
  #4 (permalink)  
Old 12-06-2007, 10:28 PM
comando2929 comando2929 is offline
Member
 
Join Date: Dec 2007
Location: So Cal
Posts: 4
Rep Power: 0
comando2929 is on a distinguished road
Default
If all your doing is storing and looking up the data, a short or byte is just fine. However, if you do any other processing with a non int type, it must be converted to an int which causes a slow down in calculations. This is further explained at.

Java Primative Speed
__________________
http://FreshProgramming.com

Last edited by comando2929; 12-06-2007 at 10:36 PM. Reason: add signiture
Reply With Quote