PMC new init_int, comments and tests welcome

Kevin Tew tewk at tewk.com
Wed Mar 10 02:33:13 UTC 2010


Its in,

I had to make realclean.

Kevin

Jonathan Leto wrote:
> Howdy,
>
> +1 to this patch
>
> I can write tests for it when it gets applied.
>
> Duke
>
>
> On Tue, Mar 9, 2010 at 4:40 PM, Kevin Tew <tewk at tewk.com> wrote:
>   
>> 14:02 < whiteknight> would like to add a new VTABLE_init_int, which would
>> allow initialization from an integer
>> 14:03 < whiteknight> Would allow preallocation of things like Fixed*Array,
>> Integer, CallContext, etc
>> 14:04 < whiteknight> Coke: you would have to create a throwaway Integer PMC
>> to do the same thing
>> 14:07 < Coke> NotFound: new $P1, ['Array'],  5
>> 14:07 < allison> I am in favor or ways to avoid creating intermediate
>> throw-away PMCs
>> 14:07 < whiteknight> $P0 = new ['FixedIntegerArray'], 10
>>
>>
>>
>> _______________________________________________
>> http://lists.parrot.org/mailman/listinfo/parrot-dev
>>
>>
>>     
>
>
>
>   



More information about the parrot-dev mailing list