KES777 / mojo

Mojolicious - Perl real-time web framework
http://mojolicio.us
Artistic License 2.0
0 stars 0 forks source link

Just remove added $captures from stack instead of copy whole snapshot #33

Open KES777 opened 6 years ago

KES777 commented 6 years ago

Summary

Because _match method is just add captures to the stack and do not change already matched
We can just purge newly added captures to the stack when route is not matched

Motivation

This is faster to purge added elements in compare to replace whole stack by snapshot

References

related to this commit