Which is faster, an integer counter or a short?
Counting range [0 .. 32767]
int int_counter ;
short short_counter ;
Scope: Desktop & Server OS (32 Bit)
Counting range [0 .. 32767]
int int_counter ;
short short_counter ;
Scope: Desktop & Server OS (32 Bit)
Answer:
i think this is OS dependent...
int is minimum as long as short int and long int is minimum as long as int
so it depends on the implementation...
int is minimum as long as short int and long int is minimum as long as int
so it depends on the implementation...
What is Your Answer?
No comments:
Post a Comment
Note: Only a member of this blog may post a comment.