Open gfoidl opened 5 years ago
I'm not sure if I'll do this, as it complicates the code quite a lot. It would be nicer if the runtime itself can be improved, so the gain is for free.
This can be superseeded by the use of C# 9 function pointers, and .NET Core 3.0 NativeLibrary.
See UnmanagedCall benchmarks for reference.