4 ms·
Creating the hash would have the same overhead, at least this way we exit the loop when we find the correct entry. Of course if you needed to lookup more than o
by kolodny 12y ago
Creating the hash would have the same overhead, at least this way we exit the loop when we find the correct entry. Of course if you needed to lookup more than one route in a single request then that may be an issue, but I really doubt that's the main use case