I've been trying a mixed mode project but I'm having speed problems.
I was using a DLL and linking into it from C#. I thought I'd try and stick
the C# functionality and the raw unmanaged code into a mixed mode project.
It works but it's incredibly slow. All the optimization settings are the
same. All the code which was in the DLL is compiled with the /clr off. Only
the bits which were in C# have been re-written in managed C++ (and I've
checked them - they're not the cause).
However it's now five times slower than it was.
Any ideas or should I just go back to the original design?
Jos
I was using a DLL and linking into it from C#. I thought I'd try and stick
the C# functionality and the raw unmanaged code into a mixed mode project.
It works but it's incredibly slow. All the optimization settings are the
same. All the code which was in the DLL is compiled with the /clr off. Only
the bits which were in C# have been re-written in managed C++ (and I've
checked them - they're not the cause).
However it's now five times slower than it was.
Any ideas or should I just go back to the original design?
Jos
Comment