Pavel Tupitsyn created IGNITE-4640: -------------------------------------- Summary: .NET: Improve performance of dynamically generated code Key: IGNITE-4640 URL: https://issues.apache.org/jira/browse/IGNITE-4640 Project: Ignite Issue Type: Improvement Components: platforms Affects Versions: 1.8 Reporter: Pavel Tupitsyn Priority: Minor Fix For: 2.1
Ignite uses dynamically generated delegates to avoid constly reflection calls on hot paths (invoking user-defined generic methods, constructors, etc) - see {{DelegateTypeDescriptor}} and {{DelegateConverter}} classes. Investigate whethe adding the following attributes to our assemblies affects performance: {code} [assembly: AllowPartiallyTrustedCallers] [assembly: SecurityTransparent] [assembly: SecurityRules(SecurityRuleSet.Level2,SkipVerificationInFullTrust=true)] {code} See http://stackoverflow.com/questions/13431573/dynamicmethod-is-much-slower-than-compiled-il-function/14297080#14297080 -- This message was sent by Atlassian JIRA (v6.3.15#6346)