I did some tests, turns out that in terms of speed, Uint8 is equivalent to Int64. Uint32 is twice as slow.
On Sunday, March 30, 2014 2:27:17 PM UTC+8, Freddy Chua wrote: > > Hi, > > I have a question. Suppose the data I have are only small integer values > in the range of 1-10. Should I use Int64 or Int8. Using Int64 would be > consistent with my system word size and would likely be faster. But using > Int8 would definitely save more memory. > > So, which should I use? >
