Re: Is CArray best for this...
- From: "GT" <ContactGT_remove_@xxxxxxxxxxx>
- Date: Thu, 17 Jan 2008 10:05:56 -0000
"AliR (VC++ MVP)" <AliR@xxxxxxxxxxxxx> wrote in message
news:3vtjj.38664$lD6.1065@xxxxxxxxxxxxxxxxxxxxxxxxxxxxx
During lunch I was thinking about your problem, and I was thinking about
CList. Reading through the documentation of CList it doesn't appear that
it moves things around. But navigating a CList is a bit more complex than
CArray, since things are not index based, and you have to traverse the
CList with Position variable. But its something to think about.
Thank you all for your help. So CArray is simply not the way to go. If
CArray can move things around, then it can't be very efficient (performance
wise) as each element in my CArray actually potentially contains another
CArray.
This is only a small prototyping exercise at the moment, so I will
investigate changing to stl::vector or CList today.
.
- Follow-Ups:
- Re: Is CArray best for this...
- From: David Wilkinson
- Re: Is CArray best for this...
- References:
- Is CArray best for this...
- From: GT
- Re: Is CArray best for this...
- From: AliR \(VC++ MVP\)
- Re: Is CArray best for this...
- From: GT
- Re: Is CArray best for this...
- From: AliR \(VC++ MVP\)
- Re: Is CArray best for this...
- From: GT
- Re: Is CArray best for this...
- From: AliR \(VC++ MVP\)
- Re: Is CArray best for this...
- From: AliR \(VC++ MVP\)
- Is CArray best for this...
- Prev by Date: Wpf tooltip exist Direct3d memleak in native code in xp and vista os
- Next by Date: Re: Flickerproblem on some machines
- Previous by thread: Re: Is CArray best for this...
- Next by thread: Re: Is CArray best for this...
- Index(es):
Relevant Pages
|
Loading