Comments (1)
If you are measuring it and find it too slow than I suggest you don't use it. The types it emits are pretty lightweight, so shouldn't slow things down too much. There used to be a way to pre-save the emitted DLLs but that disappeared for .net standard.
The proxies it implements are essentially in C#:
public class Test:ITestInterface {
dynamic target;
public int Prop1 => target.Prop1
public void Method1() => target.Method1();
//etc
So you could always implement your own and see if you get a speed bump.
from impromptu-interface.
Related Issues (20)
- Interface with different interface collection as property
- Feature Request: ActLike<BaseClass>
- [macOS] The type initializer for 'Dynamitey.Dynamic' threw an exception HOT 6
- FeatureRequest, ActLike with possibility to map method names HOT 1
- Have proxy check if wrapping the same interface
- Define proxy methods for out / ref parameters HOT 2
- How to work with enum parameters and return values HOT 2
- lock and Dictionary HOT 3
- ActLike() fails with explicit interface implementation HOT 2
- RuntimeBinderException trying to set a property after Activator.CreateInstance HOT 1
- feature: ActLike convert tuple HOT 2
- Incorrect binder.ReturnType HOT 1
- ActLike interface with default implementation produces exception
- Exception Thrown on Blazor WASM HOT 2
- Issue Loading Type Dynamically HOT 2
- Source generators HOT 2
- Updating ImpromptuInterface from 6.2.2 to 7.0.1 (latest version) HOT 2
- Build not passing + Proxy interfaces missing Custom Attributes HOT 1
- Failure when using generic structs in nullable contexts
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from impromptu-interface.