This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Faster compilation speed [zone allocation]
Aldy Hernandez wrote:
This is just an idea, why doesn't someone hack the GC to never
collect, and then we can really find out how much is to be gained by a
refcounter, or no GC at all, etc.
Yes, that would be useful in telling us the *direct* cost of gc.
But there is some suspicion that the *indirect* costs of poor
memory locality is a bigger factor, and that is harder to measure:
Turning off the gc might make locality worse, making the results
hard to interpret.
But turning off gcc is a quick-and-dirty test, so it is probably
worth it anyway.
--
--Per Bothner
per@bothner.com http://www.bothner.com/per/