Closed pauldin91 closed 5 months ago
^^ "Whoops" 🤣
This PR is stale because it has been open 28 days with no activity. Remove stale label or comment or this will be closed in 14 days.
@jbogard Are you planning to merge this pull request?
This PR is stale because it has been open 28 days with no activity. Remove stale label or comment or this will be closed in 14 days.
Is this any faster than Activator.CreateInstance
? It's only used once and cached.
Hello @jbogard . No, activator is a still faster than non-cached compiled expressions. To cache the compiled expression, the request type must be known at compile time which in the current situation cannot happen. The only thing that is faster than cached activator is the non-cached direct construction with new. I will revert the changes and commit only the construction with new.
This PR is stale because it has been open 28 days with no activity. Remove stale label or comment or this will be closed in 14 days.
This PR was closed because it has been stalled for 14 days with no activity.
Remove activator usage from Send methods, and use new and compiled expression for constructing RequestHandlerWrapperImpl objects