4 ms·
Is the route count unbounded? O(n) = O(1) for constant-bounded n.
by mwkaufma 6y ago
Is the route count unbounded? O(n) = O(1) for constant-bounded n.
- kevincox 6y agoYes, this is why my discomfort is "unreasonable". However I feel bad knowing that every route I add is slowing down my app. And I have the impulse to sort my routes by popularity to improve performance. I wish I could just trust the framework to match "as fast as possible".
- staticassertion 6y agoIf it makes you feel better, it's honestly probably faster for a certain number of routes or fewer.