Lets try something different. Who wants to help make Mojo::Template a
little faster? :)
https://gist.github.com/anonymous/60ce67f9b496e3b0b5b9
Allright, this little patch for Mojolicious master on GitHub turns the
first example below into the second.
https://gist.github.com/anonymous/806441f5284ac7e29236
https://gist.github.com/anonymous/4362048563bf04325ab2
The performance gain depends entirely on the size of static text blocks in
your templates, at 100 lines i've measured an increase of up to 10%, and at
1000+ lines it was up to 25%. Big problem is that some tests in
t/mojo/template.t no longer pass on any version of Perl before 5.20. So who
can figure this one out? :p
--
sebastian
--
You received this message because you are subscribed to the Google Groups
"Mojolicious" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/mojolicious.
For more options, visit https://groups.google.com/d/optout.