develooper Front page | perl.perl5.porters | Postings from March 2000

RE: [PATCH 5.6.0-RC1] more warnings tidy ups

Marquess,P,Paul,NEL38 R
March 16, 2000 10:40
RE: [PATCH 5.6.0-RC1] more warnings tidy ups
Message ID:
From: Tim Bunce []
> I have a vague memory that using the warnings pramga will make the code
> use slightly more memory. It that still true (was it ever) and, if so,
> what kind of typical percentage overhead is there?

The overhead is still there but I've gone to lengths to minimise the impact.

The cases below and the case where the pragma hasn't been used at all will
add 4 bytes per line of code.

    use warnings ;
    use warnings 'all';
    no warnings ;
    no warnings 'all' ;

Any other variations on the use of the pragma will add about 13 bytes per

Paul Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About