Varray memory consumption strikes back
Jan Hubicka
jh@suse.cz
Wed Oct 6 20:54:00 GMT 2004
>
> Eh? obstack_free is precisely a pop operation.
Well, for obstack_free you need to know the address of object you want
to pop off the stack, so it is not exactly what I need ;)
>
> > This is stack implementation that don't use resizing and ggc. I converted the
> > dom's stacks to it and it seems to be resonably fast. On Gerald's testcase it
> > redues compilation time from 1m14.581s to 1m14.025s (consistently) and memory
> > footprint from 89MB to 80.
> >
> > While measuring the bootstrap speed, the difference seems to be winthin noise.
>
> You didn't include the new files.
Oops...
Attached.
Honza
>
> --
> Daniel Jacobowitz
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ptrstack.h
Type: text/x-chdr
Size: 2173 bytes
Desc: not available
URL: <https://gcc.gnu.org/pipermail/gcc/attachments/20041006/cda4d1b8/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ptrstack.c
Type: text/x-csrc
Size: 1821 bytes
Desc: not available
URL: <https://gcc.gnu.org/pipermail/gcc/attachments/20041006/cda4d1b8/attachment-0001.bin>
More information about the Gcc
mailing list