develooper Front page | perl.perl5.porters | Postings from December 2007

Re: optimising opcodes

Thread Previous | Thread Next
From:
Rafael Garcia-Suarez
Date:
December 31, 2007 01:16
Subject:
Re: optimising opcodes
Message ID:
b77c1dce0712310115p4e3f0c24rc12f1fb305dd35a1@mail.gmail.com
On 24/12/2007, Nicholas Clark <nick@ccl4.org> wrote:
> 0: How hard would it be to write some code to take an optree, and copy out all
>    the live ops into a new optree, skipping any nulled out ops?
> 1: Would that break the runtime?

Are we sure we don't use null ops at all ? an idea just crossed my mind:
some COPs can be nullified, (try with an if() statement for example),
but does the runtime still fetch a line number in it to add it to a
warning or an error message ?

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