We're out of tree codes; now what?

NickK gccgpu@adrenalin-junkie.net
Mon Mar 12 21:25:00 GMT 2007


Mike Stump wrote:
> On Mar 12, 2007, at 11:13 AM, Doug Gregor wrote:
>> With the introduction of the variadic templates patch, we now have
>> more than 255 tree codes in GCC.
>
> I do wonder about compilation speed for C++ code. Barring some other 
> innovative approach, even with a slow down, which I'd hate, I think 
> this may be the best approach.
>
> Thanks for addressing this.
>
>
How about a variable size - huffman encode the most frequent codes in to 
one byte, relegate the less frequent to two bytes.

Nick.



More information about the Gcc mailing list