-
Notifications
You must be signed in to change notification settings - Fork 470
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Improve code generation performance/caching using open generic types #448
Comments
Hi @arashjfz, can you describe one or more use cases why this would be a useful feature? (Implementing it would probably mean a lot of work, so—regardless of who would be implementing this—without having a clear incentive, it most likely isn't going to happen.) |
Ok let met describe you a situation As you know stakx this behavior of generic type is the main different between Java and .net |
If I understand you correctly, this would be mostly an optimization, then? You're not blocked from proxying the types you need to proxy--but you wish that DynamicProxy would be more efficient by making use of the CLR's "code sharing" for generic type instantiations? |
yes exactly it is a performance problem |
@stakx I am really interested in this issue. If it is possible I can give it a try |
@arashjfz: Sure, it cannot hurt if you look into it and have a go at it. We do welcome contributions! A word of warning (not to discourage you up-front, but so you know what to expect), this might be non-trivial and amount to a fair bit of work. I for one don't expect to be able to provide much guidance (among other things, due to my current workload at work). Perhaps @jonorossi can let you know if and how this will fit with the planned release schedule. |
It is very useful that open generic types can be supported
The text was updated successfully, but these errors were encountered: