develooper Front page | perl.perl6.internals | Postings from September 2002

Re: [netlabs #801] [PATCH] PerlArray in scalar context

Thread Previous | Thread Next
From:
Ken Fox
Date:
September 5, 2002 04:26
Subject:
Re: [netlabs #801] [PATCH] PerlArray in scalar context
Message ID:
3D773F51.7060000@vulpes.com
Brent Dax wrote:
>  Keep in mind how much it could inflate the bytecode if
> we render a ton of generic, N-dimensional hyper-operator logic into
> bytecode.

The main problem I see is that you could spend minutes executing
inside that hyper op. Doesn't that screw with the plan for putting
the event handler in the dispatch loop? It's not very friendly for
debugging either -- how can the user set a breakpoint on one of
the hyped calls?

The bytecode generated for hyper can't be any larger than the
equivalent loops in Perl 5. If there isn't any problem with byte
code size now, why would there be a problem in Perl 6?

- Ken


Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About