Steve Fink <[EMAIL PROTECTED]> wrote:
> I am getting a seg fault when doing a very simple subroutine call with
> IMCC:
> .sub _main
> newsub $P4, .Sub, _two_of
> $P6 = new PerlHash
> .pcc_begin prototyped
^^
> .pcc_sub _t
When the encoding of a hash and a lookup key doesn't match, we get a
huge penalty on hash lookup:
0.702336
6.634617
...
DOD runs = 6052
Collect runs = 378
Collect memory = 17557328
It takes 10 times longer, an we have considerable DOD/GC stress.
Do we really need to transcode strings for string_co
Call for Participation
Lightweight Languages Workshop 2003 (LL3)
=
Saturday, November 8, 2003
MIT, Room 34-101, Cambridge, Mass.
http://ll3.ai.mit.edu/
LL3 will be an intense, exciting, one-day forum bringing together the
best programming language implem
On Sun, Oct 26, 2003 at 04:45:48PM +1100, Andrew Savige wrote:
> Michael G Schwern wrote:
> > Since skip_all will exit immediately you can fold that big "everything
> > inside the else block" away.
> >
> > eval 'use Test::Pod';
> > my $have_testpod = !$@ and $Test::Pod::VERSION >= 0.95;
> > plan s
At 11:50 PM 10/25/2003 -0700, Steve Fink wrote:
newsub $P4, .Sub, _two_of
Leo answered your question, I just wanted to point out that you can
now write the above as:
$P4 = newsub _two_of
As Leo said, the call types conflict. In this case we eventually
should be able to make IMCC warn y
Steve Fink <[EMAIL PROTECTED]> wrote:
> Although this does bring up another issue -- should parrot really be
> seg faulting when it gets a uninitialized (null) PMC?
The problem is of course that we call pmc->vtable->some_meth_od() on a
NULL PMC. We could do the checks always, slowing down each PM
At 07:21 PM 10/26/2003 +0100, Leopold Toetsch wrote:
Steve Fink <[EMAIL PROTECTED]> wrote:
> Although this does bring up another issue -- should parrot really be
> seg faulting when it gets a uninitialized (null) PMC?
The problem is of course that we call pmc->vtable->some_meth_od() on a
NULL PMC.
On Oct-26, Leopold Toetsch wrote:
> Steve Fink <[EMAIL PROTECTED]> wrote:
> > I am getting a seg fault when doing a very simple subroutine call with
> > IMCC:
>
> > .sub _main
> > newsub $P4, .Sub, _two_of
> > $P6 = new PerlHash
> > .pcc_begin prototyped
>
Hello
How can I be involved in the project? Maybe, some help is needed?
If you're interesting about me: http://buildbn.net/resume.html
Dmitry Nikolayev
On Oct-26, Leopold Toetsch wrote:
> Steve Fink <[EMAIL PROTECTED]> wrote:
> > I am getting a seg fault when doing a very simple subroutine call with
> > IMCC:
>
> > .sub _main
> > newsub $P4, .Sub, _two_of
> > $P6 = new PerlHash
> > .pcc_begin prototyped
>
At 06:25 PM 10/26/2003 -0800, Steve Fink wrote:
On Oct-26, Leopold Toetsch wrote:
> Steve Fink <[EMAIL PROTECTED]> wrote:
> > I am getting a seg fault when doing a very simple subroutine call with
> > IMCC:
>
> > .sub _main
> > newsub $P4, .Sub, _two_of
> > $P6 = new Per
However, I see your point. To be orthogonal would suggest that we
implement the same feature for .pcc_call that we do for the .pcc_sub
I meant .pcc_begin here since that is where the proto|non_proto goes.
-Melvin
In one of my local applications, the regression test has just started to
fail with:
dubious
Test returned status 0 (wstat 14, 0xe)
Constant subroutine __need_size_t redefined at
/usr/lib/perl/5.8.0/stddef.ph line 147.
after all the subtests completed successfully
Bizarrely this only happens
Michael G Schwern wrote:
> On Sun, Oct 26, 2003 at 04:45:48PM +1100, Andrew Savige wrote:
>> There is a misprint in this line:
>>my $have_testpod = !$@ and $Test::Pod::VERSION >= 0.95;
>> It should read:
>>my $have_testpod = !$@ && $Test::Pod::VERSION >= 0.95;
>
> I deliberately used and i
Luke Palmer asked:
Presuming you can do:
(who => $name, why => $reason) := (why => $because, who => "me");
(from A6)
Does that imply that you can do:
sub routine (name => $nombre, date => $fecha) {...}
If we're consistent about lvalues of binds being the same as argument lists,
it prob
Hi Damian, welcome back!
Damian Conway writes:
> Luke Palmer asked:
>
> >Presuming you can do:
> >
> >(who => $name, why => $reason) := (why => $because, who => "me");
> >
> >(from A6)
> >
> >Does that imply that you can do:
> >
> >sub routine (name => $nombre, date => $fecha) {...}
>
>
16 matches
Mail list logo