Long datatype faster than Integer?
Posted on 2002-05-01
One of my co-workers says that you should always use the Long datatype in VB 32-bit because processor level operations on it run faster than Integer or Byte. He claims the reason for this is because the Integer and Byte datatypes are converted to a Long (32-bit) before the processor can work with it internal. So in short, if you're using Integer:
Integer -> Long -> perform op -> Long -> Integer
as opposed to:
Long -> perform op -> Long
Is this really true, or am I hearing BS?