Only 10 DllImport (files and performance), most can be moved to managed version. goto isn't something slow with C# - so it can't be a bottleneck. But it would be interesting to study this with profiler and see what is the real reason. I believe it shouldn't be that different in performance.
Cory Nelson wrote: > > On Sat, Aug 1, 2009 at 4:21 AM, Kosenko Max<kosenko....@vyzo.com> wrote: >> >> Seems like I've misunderstood your performance results. And they are >> 3-5times >> slower than original... >> > > This could be for a number of reasons. For one, it uses p/invoke for > a number of things, which can be pretty slow and is not portable. > Another, it is basically a direct port of the C code -- it is using > goto all over the place, which probably hampers optimization as > opposed to exceptions. > > -- > Cory Nelson > http://int64.org > _______________________________________________ > sqlite-users mailing list > sqlite-users@sqlite.org > http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users > > ----- Best Regards. Max Kosenko. -- View this message in context: http://www.nabble.com/ANN%3A--SQLite-3.6.16.C--tp24764742p24768968.html Sent from the SQLite mailing list archive at Nabble.com. _______________________________________________ sqlite-users mailing list sqlite-users@sqlite.org http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users