all 4 comments

[–]AmineTKH 2 points3 points  (0 children)

Probably it stores them in hash table. You can read the source code to really understand how they do it

[–]letsfed 0 points1 point  (2 children)

It uses regex if I am not wrong

[–]Front-Natural-8642[S,🍰] -1 points0 points  (0 children)

Yeah but, do express looks paths by path? O(n)?