To avoid repeated reflective lookups and keep request handling simpler.
Once the framework discovers route information, it should usually store the result in stable structures. That keeps the request path more predictable and reduces repeated dynamic work.