3 ms·
In development mode, yes. We look at every controller and form a routing tree. In deployment mode that routing tree is serialized and cached. Only a single (ma
by KrisJordan 18y ago
In development mode, yes. We look at every controller and form a routing tree.
In deployment mode that routing tree is serialized and cached. Only a single (matching) controller is then touched. Unserializing the data structure is extremely fast and finding a match is roughly an O(log n) operation.