Hi i have a program that deals alot with vectors and indexes of the elements of these vectors , and I was wondering :
- is there a difference between
uint
andunsigned int
- which is better to use one of the above types or just use "int" as I read some people say compiler does handle int values more efficiently , but if i used int i will have to check always for negative idxs which is pain.
- do you think iterators to be better ? is it more efficient than normal indexing
vectorx[idx]
?
p.s the software will handle large data processes and good performance is a must have requirement Thanks alot