CArray and [] - operator

  • Thread starter Thread starter db01092001
  • Start date Start date
D

db01092001

Hello,

I'm interested in the internal organization of CArray, especially the
execution time for the members, the operator respective:
Determines the use of [] in constant time (O(1))?
What about the members RemoveAt() and InsertAt()? Are they executed in
linear time (O(n), if n is the number of arrayelements)?

Thanks for clues,

David Brunner
 
Hi David,


Would you mind posting the answers to these questions to this newsgroups if
you find them somewhere else? I'm interested in this info too.

Thanks!
Daniel
 
Back
Top