[PATCH,c++] use a VEC in typeck2.c:build_x_arrow
NightStrike
nightstrike@gmail.com
Mon Jun 7 16:33:00 GMT 2010
On Tue, Jun 1, 2010 at 3:29 PM, Mark Mitchell <mark@codesourcery.com> wrote:
> Nathan Froyd wrote:
>> The patch below converts build_x_arrow to use a VEC rather than a
>> TREE_LIST for the types_memoized variable. I hope the number of types
>> this function is expected to encounter is small...
>
> Yeah... But, even if O(N) == O(N), your patch sure should help with the
> constant factor.
>
>> * typeck2.c (build_x_arrow): Make types_memoized a VEC.
>
> OK.
>
> --
> Mark Mitchell
> CodeSourcery
> mark@codesourcery.com
> (650) 331-3385 x713
>
Ping.. was this committed?
More information about the Gcc-patches
mailing list