Re:Show HN: New PHP router wich is 50 times faster then Laravel
by aaronedam on Friday May 08, 2020 @09:01AM
(#23114357)
Those are some opinionated tests for performance checks. What both symfony and laravel routers achieve with their routers isn't comparable with this router library. If you want to go a bit further and implement ultimate fastest routing, create an associative array, routes as key, callable's as value. Will it be fast, yes. Will it be usable, no.
For more information about routing, plase see Nikita Popov(nikic)'s post about FastRoute.
For more information about routing, plase see Nikita Popov(nikic)'s post about FastRoute.
http://nikic.github.io/2014/02/18/Fast-request-routing-using...