InteropDotNet
InteropDotNet copied to clipboard
Document the performance impact of your approach
Hi,
I've done, in other interop project(s), some of the same things that you do in this project (namely Preloading with dlopen
/ LoadLibrary
)
The one main difference (Except for your approch being generic and published on NuGet of course... :+1: ) is that still kept on using the "normal" [DllImport]
attributes with the additional [SuppressUnmanagedCodeSecurity]
attributes to eliminate much of the standard P/Invoke ovearhead..
Does you approach actually reduce/increase the overhead (of the runtime, naturally, not the initialization) when compared to P/Invoke?