Thread: Short/Integer
View Single Post
  #4 (permalink)  
Old 12-06-2007, 11:28 PM
comando2929 comando2929 is offline
Member
 
Join Date: Dec 2007
Location: So Cal
Posts: 4
comando2929 is on a distinguished road
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
__________________

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.

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