[Mono-list] C# / C Linux Interop Speed

Bradford Stephens bradfordstephens at gmail.com
Wed Oct 29 20:49:26 EDT 2008


Greetings,

We're trying to do some rapid XML/XPath parsing using libxml2 (since
we can't fix XPath slowness issues in Mono). To do this, we're passing
a char* which represents about a 100kB XML file to a tiny C program
that runs xPaths against it.

However, the speed just for the function call to C is about 13 ms --
this doesn't include any XPath work. It seems pretty slow. What can I
do to speed it up?

--Bradford


More information about the Mono-list mailing list