bug-bison
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: bison-20001221


From: Hans Aberg
Subject: Re: bison-20001221
Date: Mon, 22 Jan 2001 19:27:07 +0100

At 15:32 +0100 1-01-22, Akim Demaille wrote:
>Hans> -- Then perhaps this asprintf, whatever it is, might suffice
>Hans> instead.
>
>No, memory management of obstack is efficient.

Even though obstack memory management is claimed to be efficient, it is not
as efficient as it could be, because when it runs out of stack, it makes a
new allocation and copies over: For an append only structure, it would be
more efficient with a link to a new allocation.

>_this_ was my last answer on obstacks.

Feel free to bring it up later, when you have less distractions. -- I think
it would be interesting to implement the open_obstack_stream function.

  Hans Aberg





reply via email to

[Prev in Thread] Current Thread [Next in Thread]