Matt Fowles <[EMAIL PROTECTED]> wrote: > Perl 6 Summary for 2004-10-23 through 2004-11-01
> newsub opcodes > Leo wanted to add some newsub opcodes to save allocations. Dan countered > that it would be a better thing to get constant pmcs working properly. Not quite. The C<newsub> opcodes were already there and got used in PIR code for function calls: x = foo(y) # $P0 = newsub .Sub, foo ; ... ; $P0() > So Leo did. Yep. Now the PMC constant of the Sub object "foo" is inserted at compile time, saving the creation of a new PMC for every call. Thanks for the detailed summary, leo