develooper Front page | perl.perl5.porters | Postings from February 2014

I've tweaked SAVEt_CLEARSV,

Thread Next
From:
Dave Mitchell
Date:
February 28, 2014 19:58
Subject:
I've tweaked SAVEt_CLEARSV,
Message ID:
20140228195839.GM1615@iabyn.com
I've just pushed the following merge commit:

    commit f5572cf8315f7c5228c30330db88dd3f604cfdc1
    Merge: b838857 9af1599
    Author:     David Mitchell <davem@iabyn.com>
    AuthorDate: Fri Feb 28 19:46:15 2014 +0000
    Commit:     David Mitchell <davem@iabyn.com>
    CommitDate: Fri Feb 28 19:46:15 2014 +0000

    [MERGE] tweak in-place branch of SAVEt_CLEARSV
    
    clean up the code that clears lexical vars on scope exit; chiefly, wrap
    all the individual 'unusual case' flag tests in a single big test of the
    union of all such flags, so that simple lexical vars skip all the tests.

It reduces the object size of Perl_leave_scope() by 97 bytes on x86_64,
and as usual, benchmarks are just noise.

-- 
In England there is a special word which means the last sunshine
of the summer. That word is "spring".

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