Re:I haven’t given up on PHP — yet
by KrisJordan on Tuesday December 16, 2008 @10:20AM
(#399538)
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.
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.