- Home /
Performance: C# vs C++ (plugin)
Hey there!
I have a simple triangulation algorithm written in C#. Nothing fancy: just takes an array of 2D vertices and returns array of triangles. I'm using it for realtime triangulation of an array of points and, overall, am very happy with current performance. But I was wondering if I'll get any performance boost by re-implementing the same algorithm in C++ as plugin for Unity?
Thanks in advance for any thoughts!
The triangulation algorithm would probably run faster, but you'd have the problem of getting the vertex data into the plugin, and the triangles out. That might take some time. If you're happy with the performance you have today, just stick with it.
Your answer
Follow this Question
Related Questions
Unity plugins 0 Answers
How do I get maximum performance on extremely heavy calculations? 1 Answer
Code requirements for C++ plugin in Unity 0 Answers
Making a plugin from an open source music language 0 Answers
Unity Native C++ Plug-in for Android 0 Answers