Hello, Usually, Java virtual machines are known for using int-sized width for short fields as well. Only the arrays (short[]) are exception. What about Dalvik?
E.g. I have a class which contains 50 fields of type "short". Sometimes in my application, 10000 of these classes exist. This means that the "short" fields should use 1MB of memory, but if Dalvik uses 4 bytes for shorts internally, then this will be 2MB memory usage. What is the truth? -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en

