3 ms·
It still use sequential matching[0]. What i meant is something like AST implementation in routing algorithm, which is obviously faster than sequential algorithm
by fidz 13y ago
It still use sequential matching[0]. What i meant is something like AST implementation in routing algorithm, which is obviously faster than sequential algorithm [1] [2]
[0]: https://github.com/jmathai/epiphany/blob/master/src/EpiRoute.php#L171 https://github.com/jmathai/epiphany/blob/master/src/EpiRoute...
[1]: http://en.wikipedia.org/wiki/Shunting-yard_algorithm http://en.wikipedia.org/wiki/Shunting-yard_algorithm
[2]: http://blog.bigbinary.com/2013/01/29/journey-into-rails-routing.html http://blog.bigbinary.com/2013/01/29/journey-into-rails-rout...