- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello. I am using IPP library with .NET. I do it somehow like this:
[DllImport(lib)]
public static extern IppStatus ippsCrossCorr_32fc(Complex_f* pSrc1, int len1, Complex_f* pSrc2, int len2, Complex_f* pDst, int dstLen, int lowLag);
I tested the speed of this function's execution in C++ and C# and C++ is about 10% better. How can you explain that? I know that C# is managed and a bit slower than unmanaged C++ but there is no reason to be slow in this case because all work is done inside binary dll. Thanks.
Link Copied
1 Reply
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
All work is done inside DLL except data marshalling required by managed runtime.
Vladimir
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page