InteropDotNet icon indicating copy to clipboard operation
InteropDotNet copied to clipboard

Document the performance impact of your approach

Open damageboy opened this issue 9 years ago • 0 comments

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?

damageboy avatar May 16 '15 09:05 damageboy