gfoidl / Stochastics

Stochastic tools, distrubution, analysis
MIT License
3 stars 0 forks source link

Use Calli for native calls #81

Open gfoidl opened 5 years ago

gfoidl commented 5 years ago

See UnmanagedCall benchmarks for reference.

gfoidl commented 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.

gfoidl commented 3 years ago

This can be superseeded by the use of C# 9 function pointers, and .NET Core 3.0 NativeLibrary.