Re: int vs. long

2006-05-12 Thread Andreas Kahari
What are you storing in your ints/longs, what operations are you doing on them, and how significant is the difference in speed that you observe under what cicumstances? Choosing a type based on speed will generate potentially unportable code, whereas choosing a type based on what data you will ac

int vs. long

2006-05-12 Thread Gustavo Rios
Hey folks, i am writing a program to perform some tasks i would like to do. I am running 3.8 on 64 bit box, for now. While playing around with int a long types i could see a performance improvement when using long type over the same method using int type. What is the theory behind this increase