This is the mail archive of the
mailing list for the GCC project.
Re: PATCH RFC: Implement and use VEC(T,stack)
Steven Bosscher <firstname.lastname@example.org> writes:
> On Wed, Jun 10, 2009 at 2:01 PM, Ian Lance Taylor<email@example.com> wrote:
>> I wouldn't expect these vectors to live a long time but a linear scan
>> seems risky to me. ÂThat would probably be enough to make somebody to
>> write a deeply recursive function using VEC(T,stack).
> But if you scan the queue from the latest added entry
> (last-in-first-tested :-), the overhead of a linear scan would
> probably still be manageable.
Excellent idea. I will implement that instead of the hash table.