On 2015-11-19 11:02:45, DRTECH wrote:
Show quoted text> On Thu Nov 19 12:29:47 2015, haarg wrote:
> > Moo doesn't specify a dependency on Sub::Name at all. We could add
> > it
> > conditionally on the availability of a compiler, but I'd rather avoid
> > that if possible.
> >
> > It seems odd that this would cause significant issues. Sub::Name is
> > only used in a limited number of places when generating classes. Is
> > your codebase generating new classes often?
>
> That's a very good question. I pulled out NYTProf and it turns out
> that subname() is actually being called frequently by Try::Tiny:
>
https://metacpan.org/source/DOY/Try-Tiny-0.22/lib/Try/Tiny.pm#L60
>
> Would you prefer me to move this ticket there?
I think at a minimum if we do something in Moo's Makefile.PL to upgrade Sub::Name, we should do the same thing in Try::Tiny -- since it also only uses Sub::Name optionally.