Subject: | HTTP::Message - CPU wasted by handling DESTROY in AUTOLOAD |
In HTTP::Message, DESTROY is currently being handled in AUTOLOAD, which
imposes a needless "return if $method eq "DESTROY";" call in every
AUTOLOAD method, and a needless "my $method = substr($AUTOLOAD,
rindex($AUTOLOAD, '::')+2);" variable allocation in every DESTROY call.
A minor speed increase in both DESTROY and autoloaded calls could be
gained by adding a simple line.
sub DESTROY { return }