I am using sqlite in my C# project. MoMA complains about the DLLs and i am unsure what to do on the mac/linux side. What are things i generally need to do when porting external DLLs?
From stackoverflow
-
You could use the SQLite assembly that's shipped with Mono - it's derived from the one you are probably using now.
See http://mono-project.com/SQLite for more details
acidzombie24 : That looks right, i'll look into it monday or tuesday and mark this accepted or not :)Stewart : @acidzombie24 - and? -
PHXSoftware's System.Data.Sqlite runs on Mono.
-
You might want to look at the C# reimplementation of SQLite on googlecode. This started life as a line-by-line port of the C++ SQLite but after lots of improvements now outperforms the original for many types of operation.
acidzombie24 : It says its 5x slower...Stewart : @acidzombie24 - the original was about 5x slower, typically. The latest version is much faster than that as shown in the benchmarks at http://code.google.com/p/csharp-sqlite/wiki/Benchmarksacidzombie24 : @Stewart: You do know that bigger values are worse? as its time and you want the shortest time. Interesting, it looks like some of these values are shorter then SQLite. Very interesting. It looks like most of these values are larger and SQLite is still the fastest on inserting. I wonder what stats i should look at for updates. But, both are pretty fast so it doesnt matter.Stewart : @acidzombie24 - LOL - I didn't say SQLite was faster overall. I was originally just pointing out that for many (not all) operations it was faster. In my comment, I was merely pointing out that it was now better than "about 5x slower".acidzombie24 : oh, gotcha, ok +1.
0 comments:
Post a Comment
Note: Only a member of this blog may post a comment.