On Fri, Sep 12, 2008 at 11:22 AM, Martin (OpenGeoMap) <[EMAIL PROTECTED]> wrote: > is it better used a library only created with C or the pinvoke is fast??? > In my imagination i see the pinvoke system trying to find a funtion > every time and if i have 10 million of lidar data perhaps this is really > slowly....
I doubt that Mono is so dumb that it doesn't remember function entry points. More likely, it's taking some time to marshal data over the managed boundary. Without seeing any code it's going to be difficult to diagnose anything. Note that things like Gtk# make heavy use of p/invoke and seem fairly fast, so I don't think the use of p/invoke alone is the problem. (Also, this question would be better directed to the main Mono mailing list, as it has nothing to do with Gtk#.) -- Chris Howie http://www.chrishowie.com http://en.wikipedia.org/wiki/User:Crazycomputers _______________________________________________ Gtk-sharp-list maillist - Gtk-sharp-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/gtk-sharp-list