Subject: | More than 60% speedup in most cases... |
Hello,
In curry::AUTOLOAD and curry::weak::AUTOLOAD, the "address" of $method can be pre-computed once.
my ($method_name) = our $AUTOLOAD =~ /^curry::(.+)$/;
my $method = $invocant->can($method_name) || $method_name;
Regards,
Max.