This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Convert some varray stacks into vector stacks


On Thu, 2004-11-25 at 15:38 +0000, Nathan Sidwell wrote:

> > Perhaps we could change that when we allocate the vector the first time?
> > Something like 'vec = VEC_alloc (T, size, HEAP)'.
> we'd also have to amend VEC_safe_push, VEC_safe_insert and VEC_reserve.
> 
Hmm, OK, not too pretty but I guess I wouldn't mind too much.  There's
only so much we can do here :)

> Of course this would be 4.1 material, so we don't have to go rushing into
> things.
> 
Agreed.


Diego.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]