P
Peter Liedermann
Hi there,
Let "Jumbo" be the name of a class whose instances consume substantial
storage.
A vector of typically 1000 such Jumbo-instances is needed. It must be
sorted by a simple int criterium, but not often.
Is there a substantial performance difference between vector <Jumbo> and
vector <Jumbo *>, provided that everything else is adapted accordingly? Is
there a difference at all?
Thanx a lot,
Peter
Let "Jumbo" be the name of a class whose instances consume substantial
storage.
A vector of typically 1000 such Jumbo-instances is needed. It must be
sorted by a simple int criterium, but not often.
Is there a substantial performance difference between vector <Jumbo> and
vector <Jumbo *>, provided that everything else is adapted accordingly? Is
there a difference at all?
Thanx a lot,
Peter