This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: string pools, final version (committed)
>>>>> "Zack" == Zack Weinberg <zackw@Stanford.EDU> writes:
Zack> affiliated data pointer. Now what do you do? Giving both
Zack> of them their own static slots is not an option; now you've
Zack> doubled the cost for all hash table entries, and for all
Zack> front ends whether or not they need it.
The CPP hash table could then not contain the strings, just
indices/pointers to them. You still have two different hash tables --
but only one set of strings.
--
Mark Mitchell mark@codesourcery.com
CodeSourcery, LLC http://www.codesourcery.com