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
uintandunsigned int - which is better to use one of the above types or just use
intas I read some people say compiler does handle int values more efficiently, but if I usedintI 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