Quantcast
Channel: ASPNETWebStack Issue Tracker Rss Feed
Viewing all articles
Browse latest Browse all 7215

Closed Issue: Consider optimization to codegen per-action delegates for dispatch [173]

$
0
0
Consider an optimization where we codegen a Func<Request,Response> delegate for each action. Much of the action is statically analyzable, including:
- the HttpParameterBindings. (ModelBinders, ValueProviders, Formatters)
- any attributes on the models, especially regarding validation
- all string manipulation for splatting to the action parameters.

This would allow us to generate optimal code for simple actions like this:
string Get(int id)

In theory, this coiudl be tested out with just a custom ActionInvoker.
Comments: This is an interesting idea but we have plenty of other higher priority items to address and this falls low on the list.

Viewing all articles
Browse latest Browse all 7215

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>