PMC new init_int, comments and tests welcome
Jonathan Leto
jaleto at gmail.com
Wed Mar 10 01:57:41 UTC 2010
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
>
>
--
Jonathan "Duke" Leto
jonathan at leto.net
http://leto.net
More information about the parrot-dev
mailing list