Saturday 2 March 2013

Holy bloat, Batman! | educated_foo [blogs.perl.org]

./perl -Ilib -le 'print $^V'; /usr/bin/time -l ./perl -Ilib -le 'use constant X => 1..5; print X' 2>&1 | grep 'maximum resident' v5.17.10 3829760 maximum resident set size $ /usr/bin/time -l ./perl -I/tmp -le 'use constant X => 1..5; print X' 2>&1 | grep 'maximum resident' 1200128 maximum resident set size That's 2.6MB bloat to define a constant.
crawled from : Perl

No comments:

Post a Comment