I have a super high-performance C/C++ data structure (see here!) that I'd like to access and use in my C# program.
Imagine the C/C++ data structure has a public API (get
, add
, delete
, etc).
How can I call these methods lots of times within C# in a high-performance way?
P.S. Before you criticize my use of the phrase "C/C++"...
In my view, C/C++ is distinct from both the C and C++ programming languages. I don't know C++, but rather an extension to C that uses some C++ constructs and can be compiled with a C++ compiler!