Hacker News new | ask | show | jobs
by aaronedam 2237 days ago
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.

http://nikic.github.io/2014/02/18/Fast-request-routing-using...