It uses Keyword::Declare for parsing which in turn uses PPR. PPR has some enormous regular expressions to parse Perl code, and those take a while to load and compile. Once the parse stage is over though, it should be pretty quick.
MooX::Pression is just a wrapper around the much faster MooX::Press though. If you do use MooX::Pression debug => 1, you can see what MooX::Pression is passing to MooX::Press.
Wow!
I'm really excited that you got parametrized roles going, and also about Sub::HandlesVia. You're awesome!
Thanks! And yeah, parameterizable packages are pretty fun.
It's very slow to start up for me. Is this just startup time and not a runtime issue?
Also, including
use utf8;
causes a lot of Malformed UTF-8 warnings.Super excited to use this though! Looks so awesome.
It uses Keyword::Declare for parsing which in turn uses PPR. PPR has some enormous regular expressions to parse Perl code, and those take a while to load and compile. Once the parse stage is over though, it should be pretty quick.
MooX::Pression is just a wrapper around the much faster MooX::Press though. If you do
use MooX::Pression debug => 1
, you can see what MooX::Pression is passing to MooX::Press.