PATCH[BIB}: Removing the arg_index field from cpp_hashnode

Neil Booth neil@daikokuya.co.uk
Sat Dec 7 05:12:00 GMT 2002


Per Bothner wrote:-

> >Nope, not even on 32 bit; there was nothing to save.
> 
> Huh?  Before cpp_hashnode was:
>   sizeof(ht_identifier) + 2 + 1 + 1 + 1 + 1 + sizeof(union) + padding
>   = 8 + 6 + 4 + padding = 20 bytes.
> 
> After the patch (below) it cpp_hashnode is:
>   sizeof(ht_identifier) + 1 + 1 + 1 + 1 + sizeof(union) + padding
>   = 8 + 4 + 4 + padding = 16 bytes.

Sorry, I thought we were still talking about ht_identifier.  I agree
you improved cpp_hashnode.

Neil.



More information about the Gcc-patches mailing list