Loop on STL vector

Dear Rooters,

i’ve a ttree with members of type

vector<double>  *member

and after addressing with


i loop on the tree entries defining the iterator

vector<double>::iterator ite;
for(;ite!=Member.end();ite++) {
  // do something

The problem is that i’ve many entries to loop on and it takes
a very long time, compared to ordinary vectors.
My question is: is there a speeder way to handle these STL objects ?
or to convert them to ordinary vectors and then loop on these objects
(because i don’t need the special functions offered by STL but my data is recorded
in this way) ?

Many thanks and best regards !



I suppose you can simply compile the code (via ACLiC for example) instead of interpreting it.