Suggestion for improving C++ parser memory usage

Robert Dewar dewar@adacore.com
Thu Dec 30 13:18:00 GMT 2004


Mike Hearn wrote:
> On Wed, 29 Dec 2004 20:47:44 -0500, Robert Dewar wrote:
> 
>>Possibly so, but what is the gain, a little bit of memory saved at
>>compile time? Seems dubious ..

> Not when you have "only" 256mb of RAM and compiling a large C++ file can
> flush half your desktop out to swap. I'd love to see reductions in g++
> memory usage :)

I just don't think the optimization you suggest will have any significant
effect in reducing memory used. Do you have data that says otherwise?



More information about the Gcc mailing list