Re: Two questions on Perl 6 functionality

2010-06-21 Thread Xi Yang
the closure globally, but I only want class with specific role has specific modification. Date: Sun, 20 Jun 2010 13:53:59 +0200 From: mor...@faui2k3.org To: jianding...@msn.com CC: perl6-users@perl.org Subject: Re: Two questions on Perl 6 functionality Xi Yang wrote: You might mis-understood

RE: Two questions on Perl 6 functionality

2010-06-20 Thread Xi Yang
You might mis-understood method modifiers. I mean: before x() after x() around x() Date: Sun, 20 Jun 2010 12:17:46 +0200 From: mor...@faui2k3.org To: jianding...@msn.com CC: perl6-users@perl.org Subject: Re: Two questions on Perl 6 functionality Hi, Xi Yang wrote: 1: Does Perl

RE: Two questions on Perl 6 functionality

2010-06-20 Thread Xi Yang
Very subtle implementation, I'm trying to understand those things. Thanks! Date: Sun, 20 Jun 2010 13:53:59 +0200 From: mor...@faui2k3.org To: jianding...@msn.com CC: perl6-users@perl.org Subject: Re: Two questions on Perl 6 functionality Xi Yang wrote: You might mis-understood

Severe performance loss, comparing with perl 5

2010-06-13 Thread Xi Yang
I'm trying to use use Perl 6 to process some nucleotide sequences. However, I found it strangely slow on substr or string concat operations, compared with its Perl 5 equivalent. Here are the codes, Perl 6 on top, Perl 5 on middle, a test input file on bottom (should be stored to