Re: Parrot, Perl 5 and performance

2007-03-13 Thread Isaac Gouy
On Mar 13, 10:28 am, [EMAIL PROTECTED] wrote: > Thanks for the reply. To be a little more specific, we have internally > tens of thousands of Perl modules. Before running them in production: > we profile these modules, pass them through a circular reference > detector (code that intercepts all allo

[perl #41806] [library/Test::More] add isnt() to test inequality - str and float

2007-03-13 Thread via RT
# New Ticket Created by Sam Vilain # Please include the string: [perl #41806] # in the subject line of all future correspondence about this issue. # http://rt.perl.org/rt3/Ticket/Display.html?id=41806 > This transaction appears to have no content[library/Test::More] add isnt() to test inequal

[perl #41808] [PATCH 1/6] [library] Test::More: use hllmacros.pir in man page example

2007-03-13 Thread via RT
# New Ticket Created by Sam Vilain # Please include the string: [perl #41808] # in the subject line of all future correspondence about this issue. # http://rt.perl.org/rt3/Ticket/Display.html?id=41808 > Use current best practice for importing symbols in the example. --- runtime/parrot/libra

[perl #41812] [PATCH 6/6] [lib] Test::More - add isa_ok()

2007-03-13 Thread via RT
# New Ticket Created by Sam Vilain # Please include the string: [perl #41812] # in the subject line of all future correspondence about this issue. # http://rt.perl.org/rt3/Ticket/Display.html?id=41812 > --- runtime/parrot/library/Test/More.pir | 80 ++ t

[perl #41819] [PATCH */2]: [t/pmc] minor object-meths.t clean-ups

2007-03-13 Thread via RT
# New Ticket Created by Sam Vilain # Please include the string: [perl #41819] # in the subject line of all future correspondence about this issue. # http://rt.perl.org/rt3/Ticket/Display.html?id=41819 > Content-Type: text/plain Content-Disposition: inline Content-Transfer-Encoding: binary MIM

[perl #41809] [PATCH 2/6] [t/library/Test::More] move skip test to be first

2007-03-13 Thread via RT
# New Ticket Created by Sam Vilain # Please include the string: [perl #41809] # in the subject line of all future correspondence about this issue. # http://rt.perl.org/rt3/Ticket/Display.html?id=41809 > The tested output from test_skip() depends on the number of tests that ran in the unrelate

[perl #41803] [t/library/Test::More] move skip test to be first

2007-03-13 Thread via RT
# New Ticket Created by Sam Vilain # Please include the string: [perl #41803] # in the subject line of all future correspondence about this issue. # http://rt.perl.org/rt3/Ticket/Display.html?id=41803 > The tested output from test_skip() depends on the number of tests that ran in the unrelate

[perl #41818] [PATCH */4]: [t/op] add tests for string memory layout

2007-03-13 Thread via RT
# New Ticket Created by Sam Vilain # Please include the string: [perl #41818] # in the subject line of all future correspondence about this issue. # http://rt.perl.org/rt3/Ticket/Display.html?id=41818 > Content-Type: text/plain Content-Disposition: inline Content-Transfer-Encoding: binary MIM

[perl #41811] [PATCH 4/6] [library/Test::More] add isnt() to test inequality - ints only

2007-03-13 Thread via RT
# New Ticket Created by Sam Vilain # Please include the string: [perl #41811] # in the subject line of all future correspondence about this issue. # http://rt.perl.org/rt3/Ticket/Display.html?id=41811 > refactor the is() :multi for integers into a _cmp_ok() function, and then use that to prov

[perl #41810] [PATCH 3/6] [lib/Test::More] base comparison type on expected, not received PMC type

2007-03-13 Thread via RT
# New Ticket Created by Sam Vilain # Please include the string: [perl #41810] # in the subject line of all future correspondence about this issue. # http://rt.perl.org/rt3/Ticket/Display.html?id=41810 > The type of the 'left' argument was being used for the selection of which comparison funct

[perl #41804] [lib/Test::More] base comparison type on expected, not received PMC type

2007-03-13 Thread via RT
# New Ticket Created by Sam Vilain # Please include the string: [perl #41804] # in the subject line of all future correspondence about this issue. # http://rt.perl.org/rt3/Ticket/Display.html?id=41804 > This transaction appears to have no content[lib/Test::More] base comparison type on expect

[perl #41807] [lib] Test::More - add isa_ok()

2007-03-13 Thread via RT
# New Ticket Created by Sam Vilain # Please include the string: [perl #41807] # in the subject line of all future correspondence about this issue. # http://rt.perl.org/rt3/Ticket/Display.html?id=41807 > This transaction appears to have no content[lib] Test::More - add isa_ok() --- runtime/p

[perl #41813] [PATCH 5/6] [library/Test::More] add isnt() to test inequality - str and float

2007-03-13 Thread via RT
# New Ticket Created by Sam Vilain # Please include the string: [perl #41813] # in the subject line of all future correspondence about this issue. # http://rt.perl.org/rt3/Ticket/Display.html?id=41813 > Continue the previous factoring out of the comparison and test function, by adding _cmp_ok

[perl #41805] [library/Test::More] add isnt() to test inequality - ints only

2007-03-13 Thread via RT
# New Ticket Created by Sam Vilain # Please include the string: [perl #41805] # in the subject line of all future correspondence about this issue. # http://rt.perl.org/rt3/Ticket/Display.html?id=41805 > This transaction appears to have no content[library/Test::More] add isnt() to test inequal

[PATCH] Free Context After Copy

2007-03-13 Thread chromatic
Here's another Valgrind report: ==15692== 736 bytes in 1 blocks are definitely lost in loss record 2 of 4 ==15692==at 0x40206D5: calloc (vg_replace_malloc.c:279) ==15692==by 0x41E82AE: mem_sys_allocate_zeroed (memory.c:79) ==15692==by 0x41E7BA1: Parrot_alloc_context (register.c:355) ==

Re: DFA rules and p5's $/

2007-03-13 Thread Larry Wall
On Wed, Mar 14, 2007 at 02:11:32PM +1100, Brad Bowman wrote: : Hello, : : Regarding this from perlvar: : : Remember: the value of $/ is a string, not a regex. awk has to : be better for something. :-) : : It seems to me that the DFAable rules would intertwingle nicely as : a non-b

[PATCH] Free Thread Interpreter Pool During Shutdown

2007-03-13 Thread chromatic
I'm running Valgrind: $ valgrind --num-callers=20 --leak-check=full --show-reachable=yes parrot --leak-test t/pmc/ref_12.pasm ==10213== 60 bytes in 1 blocks are still reachable in loss record 1 of 6 ==10213==at 0x40206D5: calloc (vg_replace_malloc.c:279) ==10213==by 0x41E822E: me

DFA rules and p5's $/

2007-03-13 Thread Brad Bowman
Hello, Regarding this from perlvar: Remember: the value of $/ is a string, not a regex. awk has to be better for something. :-) It seems to me that the DFAable rules would intertwingle nicely as a non-backtracking stream chunker. Is the form of per-filehandle input record separa

Bug Day for 0.4.10 on 3/17

2007-03-13 Thread Will Coleda
--From http://rakudo.org/parrot/index.cgi?bug_day_2007_03_17-- Bug Day On Saturday, 17 March 2007, please join us on IRC in #parrot (irc.perl.org) to work on closing out as many RT (https://rt.perl.org/ rt3/) tickets as possible in the parrot queue. This will help us get ready for the next

Re: [PATCH 1/6] [library] Test::More: use hllmacros.pir in man page example

2007-03-13 Thread Sam Vilain
Will Coleda wrote: > FYI, all six patches were just opened as tickets. > 01:33 <@Coke> do me a favor. Forward each of them to RT and open a ticket. HA! I followed this instruction, "moments" before you forwarded them. Where "moments" is a time period defined by the perl.org mailserver. So, 41

Re: [PATCH 1/6] [library] Test::More: use hllmacros.pir in man page example

2007-03-13 Thread Will Coleda
FYI, all six patches were just opened as tickets. I marked this on the ticket for 1/6 and it's closed out. the rest await a ruling. On Mar 13, 2007, at 2:17 PM, Allison Randal wrote: I know I started the spread of the .IMPORT macros through the PIR- based test files while I was working with

Re: [perl #41788] [BUG] Real registers are limited to 2 digits

2007-03-13 Thread Will Coleda
Having a limit is more than reasonable, agreed: the goal of this patch was to bring the code into agreement with the docs. Consider this a poke to the Architect to verify/replace the previous overturn of the original 32-register limit. On Mar 13, 2007, at 6:45 PM, Leopold Toetsch wrote: A

Re: [perl #41788] [BUG] Real registers are limited to 2 digits

2007-03-13 Thread Leopold Toetsch
Am Dienstag, 13. März 2007 11:55 schrieb Nuno Carvalho via RT: > so IMHO the max allowed size of the register name in the lexer > should be the max allowed for an INTVAL. Please folks, get serious. INTVAL allows 2^31/2^63 registers. A register is taking 4/8 bytes of mem. Multiply. Or IOW allowin

Re: Parrot, Perl 5 and performance

2007-03-13 Thread ozgune
Thanks for the reply. To be a little more specific, we have internally tens of thousands of Perl modules. Before running them in production: we profile these modules, pass them through a circular reference detector (code that intercepts all allocations, and at certain intervals walks over Perl's S

Re: [perl #41749] [TODO] deprecate substr_r op

2007-03-13 Thread Allison Randal
Leopold Toetsch wrote: Am Donnerstag, 8. März 2007 20:25 schrieb Jerry Gay: either move this to experimental.ops, or remove it entirely. i vote to remove it. we don't need temporary hacks as core ops. [...] I'd rather have it in experimental.ops until these string issues are resolved. Move it

[perl #41802] [BUG] GC errors with PGE (may have failing tests!)

2007-03-13 Thread via RT
# New Ticket Created by Jerry Gay # Please include the string: [perl #41802] # in the subject line of all future correspondence about this issue. # http://rt.perl.org/rt3/Ticket/Display.html?id=41802 > in order to help find some long-standing garbage collector bugs, in r17470 i've just disabl

Re: [perl #41790] [PATCH] Change sub's get_string to return short name

2007-03-13 Thread Allison Randal
Matt Diephouse wrote: Jonathan Worthington <[EMAIL PROTECTED]> wrote: Will Coleda (via RT) wrote: > So, since we can we can already get the current namespace with: > > current_ns = interp['namespace'] > This isn't a full replacement of the functionality we'd "lose", since you may want to get th

Re: [PATCH 1/6] [library] Test::More: use hllmacros.pir in man page example

2007-03-13 Thread Allison Randal
I know I started the spread of the .IMPORT macros through the PIR-based test files while I was working with Sam on the SMOP prototype, but when I see sane, maintainable code using a documented interface like "find_global", replaced with a cryptic hackish macro (e.g. passing in the '_' variable

[perl #41636] [PATCH] Updates for PDD06

2007-03-13 Thread Allison Randal via RT
Thanks, applied in r17469.

[svn:parrot-pdd] r17469 - trunk/docs/pdds/draft

2007-03-13 Thread allison
Author: allison Date: Tue Mar 13 10:53:06 2007 New Revision: 17469 Modified: trunk/docs/pdds/draft/pdd06_pasm.pod Log: [pdd]: Applying patch #41636, updating PASM spec to match current behavior. kjs++ Modified: trunk/docs/pdds/draft/pdd06_pasm.pod

Re: [perl #41788] [BUG] Real registers are limited to 2 digits

2007-03-13 Thread chromatic
On Tuesday 13 March 2007 07:54, Nuno Carvalho via RT wrote: > I've allowed for any number of digits in register names, as long that > the number specified always fits in a 32 integer value. Meaning, if the > number defined in the register name is less than MAX_INT then it's ok to > proceed, else g

[perl #41788] [BUG] Real registers are limited to 2 digits

2007-03-13 Thread Nuno Carvalho via RT
Greetings, On Mon Mar 12 15:25:38 2007, [EMAIL PROTECTED] wrote: > chromatic wrote: > > On Monday 12 March 2007 10:52, Nuno Carvalho via RT wrote: > > > > > >> I've run the tests and didn't find any test failling because of > this > >> change. With this change we can have "P999..999", if a

Re: Parrot, Perl 5 and performance

2007-03-13 Thread Gabor Szabo
On 12 Mar 2007 14:29:49 -0700, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: Hi all, I'd like to get opinions from developers on this list. I'm looking into this system that executes massive amounts of Perl 5 code on a Perl 5.8 interpreter. The system burns tons of CPU while running Perl code, a

[PATCH 0/6] A round of updates to Test::More

2007-03-13 Thread Sam Vilain
This patch series extends the Test/More.pir library in various ways. I'm sending it this way because it's trivial for me to do so, and potentially makes the patches easier for the list to review. Sam.

[PATCH 4/6] [library/Test::More] add isnt() to test inequality - ints only

2007-03-13 Thread Sam Vilain
refactor the is() :multi for integers into a _cmp_ok() function, and then use that to provide is() and isnt() --- runtime/parrot/library/Test/More.pir | 53 -- t/library/test_more.t| 16 ++ 2 files changed, 59 insertions(+), 10 deletions

[PATCH 2/6] [t/library/Test::More] move skip test to be first

2007-03-13 Thread Sam Vilain
The tested output from test_skip() depends on the number of tests that ran in the unrelated sections before it. Tidy this up. --- t/library/test_more.t | 16 1 files changed, 8 insertions(+), 8 deletions(-) diff --git a/t/library/test_more.t b/t/library/test_more.t index 7baef

[PATCH 1/6] [library] Test::More: use hllmacros.pir in man page example

2007-03-13 Thread Sam Vilain
Use current best practice for importing symbols in the example. --- runtime/parrot/library/Test/More.pir | 26 -- 1 files changed, 12 insertions(+), 14 deletions(-) diff --git a/runtime/parrot/library/Test/More.pir b/runtime/parrot/library/Test/More.pir index 8441b25..5

[PATCH 2/6] [t/library/Test::More] move skip test to be first

2007-03-13 Thread Sam Vilain
The tested output from test_skip() depends on the number of tests that ran in the unrelated sections before it. Tidy this up. --- t/library/test_more.t | 16 1 files changed, 8 insertions(+), 8 deletions(-) diff --git a/t/library/test_more.t b/t/library/test_more.t index 7bae

[PATCH 1/6] [library] Test::More: use hllmacros.pir in man page example

2007-03-13 Thread Sam Vilain
Use current best practice for importing symbols in the example. --- runtime/parrot/library/Test/More.pir | 26 -- 1 files changed, 12 insertions(+), 14 deletions(-) diff --git a/runtime/parrot/library/Test/More.pir b/runtime/parrot/library/Test/More.pir index 8441b25..

[PATCH 6/6] [lib] Test::More - add isa_ok()

2007-03-13 Thread Sam Vilain
--- runtime/parrot/library/Test/More.pir | 80 ++ t/library/test_more.t| 38 - 2 files changed, 117 insertions(+), 1 deletions(-) diff --git a/runtime/parrot/library/Test/More.pir b/runtime/parrot/library/Test/More.pir index f9f

Re: Some questions about miltislices and other things

2007-03-13 Thread Ryan Richter
On Mon, 12 Mar 2007 17:41:27 -0700, Larry Wall wrote: > On Fri, Mar 02, 2007 at 01:33:50PM -0500, Ryan Richter wrote: > : while ($_ = %state{@@w}.pick).say { > > You maybe don't want each word on a separate line... They did that in the original for some reason. In the unlikely event that I want

[PATCH 0/6] A round of Test/More updates

2007-03-13 Thread Sam Vilain
This patch series extends the Test/More.pir library in various ways. I'm sending it this way because it's trivial for me to do so, and potentially makes the patches easier for the list to review and comment on particular portions. Sam.

[PATCH 3/6] [lib/Test::More] base comparison type on expected, not received PMC type

2007-03-13 Thread Sam Vilain
The type of the 'left' argument was being used for the selection of which comparison function to use. This does not agree with the typical usage of the second argument to is() to mean the expected value (as in English). --- runtime/parrot/library/Test/More.pir |8 1 files changed, 4

[PATCH 5/6] [library/Test::More] add isnt() to test inequality - str and float

2007-03-13 Thread Sam Vilain
Continue the previous factoring out of the comparison and test function, by adding _cmp_ok() for other types --- runtime/parrot/library/Test/More.pir | 233 +++--- t/library/test_more.t| 39 ++ 2 files changed, 222 insertions(+), 50 deletions(-)

[PATCH 5/6] [library/Test::More] add isnt() to test inequality - str and float

2007-03-13 Thread Sam Vilain
Continue the previous factoring out of the comparison and test function, by adding _cmp_ok() for other types --- runtime/parrot/library/Test/More.pir | 233 +++--- t/library/test_more.t| 39 ++- 2 files changed, 222 insertions(+), 50 deletions(-)

[PATCH 3/6] [lib/Test::More] base comparison type on expected, not received PMC type

2007-03-13 Thread Sam Vilain
The type of the 'left' argument was being used for the selection of which comparison function to use. This does not agree with the typical usage of the second argument to is() to mean the expected value (as in English). --- runtime/parrot/library/Test/More.pir |8 1 files changed, 4

[PATCH 4/6] [library/Test::More] add isnt() to test inequality - ints only

2007-03-13 Thread Sam Vilain
refactor the is() :multi for integers into a _cmp_ok() function, and then use that to provide is() and isnt() --- runtime/parrot/library/Test/More.pir | 53 -- t/library/test_more.t| 16 +- 2 files changed, 59 insertions(+), 10 deletions(

[svn:perl6-synopsis] r14344 - doc/trunk/design/syn

2007-03-13 Thread audreyt
Author: audreyt Date: Tue Mar 13 03:43:31 2007 New Revision: 14344 Modified: doc/trunk/design/syn/S02.pod Log: * S02: More fixups to reflect that fact that the f($x) form is always &f($x) and never $x.f() now. Modified: doc/trunk/design/syn/S02.pod ===

[PATCH 6/6] [lib] Test::More - add isa_ok()

2007-03-13 Thread Sam Vilain
Add the isa_ok() method --- runtime/parrot/library/Test/More.pir | 80 ++ t/library/test_more.t| 38 2 files changed, 117 insertions(+), 1 deletions(-) diff --git a/runtime/parrot/library/Test/More.pir b/runtime/parrot/library

Re: [svn:perl6-synopsis] r14339 - doc/trunk/design/syn

2007-03-13 Thread Smylers
Larry Wall writes: > On Mon, Mar 12, 2007 at 10:20:12PM +, Smylers wrote: > > : [EMAIL PROTECTED] writes: > : > : > Separated clobbering <== ==> from pushy <<== and ==>> > : > > : > +Feeding into the C<*> "whatever" term sets the source for the next sink. > : > +To append multiple sources t