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

Re: optimising opcodes

Thread Previous | Thread Next
Rafael Garcia-Suarez
December 31, 2007 01:16
Re: optimising opcodes
Message ID:
On 24/12/2007, Nicholas Clark <> 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 Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About