Re: idiom for filling a counting hash

2004-05-19 Thread Juerd
Uri Guttman skribis 2004-05-19 0:08 (-0400): J 1;0 [EMAIL PROTECTED]:~$ perl -MBenchmark=cmpthese -e'my @foo = (1..16, J 1..10); cmpthese -1, { a = sub { my %foo; $foo{$_}++ for @foo; }, i J b = sub { my %foo; $_++ for @[EMAIL PROTECTED]; } }' J Rate a b J

Re: Yadda yadda yadda some more

2004-05-19 Thread James Mastros
Austin Hastings wrote: So, how wrong is this: class VerticalYadda { extends Yadda; multi method coerce:as($what) { say Coercing VerticalYadda to ~ ($what as Str); next METHOD; } } sub *\U{VERTICAL ELLIPSIS}() { return new VerticalYadda; } =Austin macro

Parrot_find_global

2004-05-19 Thread Jens Rieks
Hi, I've added src/global.c and include/parrot/global.h which contains PMC *find_global(Parrot_Interp interpreter, STRING *class, STRING *globalname) The code is taken from object.c, where a note stated that it is ought to be an public function. Parrot_store_global is missing ATM, but I'll

[CVS ci] IO stuff

2004-05-19 Thread Leopold Toetsch
I've put in some changes to io: - interface to query existing layers - move various things around Not much yet. But: IO does currently translates to/from utf8 by default, so we need some tweaking here: Proposal: - create a new string layer that does this {en,de}coding - change the prototypes of

Re: Parrot_find_global

2004-05-19 Thread Dan Sugalski
At 11:47 AM +0200 5/19/04, Jens Rieks wrote: Hi, I've added src/global.c and include/parrot/global.h which contains PMC *find_global(Parrot_Interp interpreter, STRING *class, STRING *globalname) The code is taken from object.c, where a note stated that it is ought to be an public function.

Simon Cozens has really painful hands

2004-05-19 Thread
Hi, I hate to do this, but I am currently suffering really quite badly from RSI and to ameliorate this I'm trying to cut down on the amount of mail I have to reply to. This means that unless your message is something I really need to respond to, I probably won't reply for the time being or

Re: Simon Cozens has really painful hands

2004-05-19 Thread Austin Hastings
--- [EMAIL PROTECTED] wrote: Hi, I hate to do this, but I am currently suffering really quite badly from RSI and to ameliorate this I'm trying to cut down on the amount of mail I have to reply to. This means that unless your message is something I really need to respond to, I probably

Re: Simon Cozens has really painful hands

2004-05-19 Thread Simon Cozens
[EMAIL PROTECTED] (Austin Hastings) writes: message is something I really need to respond to, I probably won't reply for the time being or will reply curtly. The difference? Yeah, I doubt anyone will notoice. Feel better, Simon. Thanks. And no thanks to whatever worm it was that

[perl #29738] [PATCH] PARROT_API Generic

2004-05-19 Thread via RT
# New Ticket Created by Ron Blaschke # Please include the string: [perl #29738] # in the subject line of all future correspondence about this issue. # URL: http://rt.perl.org:80/rt3/Ticket/Display.html?id=29738 Here's the first step for the PARROT_API stuff. This patch introduces

win32-x86-cl Test Results

2004-05-19 Thread Ron Blaschke
Just to let people know how things are going on win32-x86-cl13.10.3077. All tests successful, 3 tests and 60 subtests skipped. Files=104, Tests=1542, 278 wallclock secs ( 0.00 cusr + 0.00 csys = 0.00 CPU) Ron