SQLite or SQLite Async Connection

I am starting to use sqlite for wp8, from this article

I found that there are 2 versions of SQliteConnection here: async and non-async. Although I use this for WP8, I want to use the async version for smooth performance, but it seems the Async version class does not implement IDispose (I can use "Use for non-asynchronous version"). So what solution should I use here?

+5
source share
1 answer

I would also consider the size of the project and its volume, for example, if its small project then simply uses a simple, non-asynchronous one, it is less than code and easier to maintain, and most of the small operations take place in milliseconds.

If you need high performance, go to async, write additional code and get a better user interface.

Or maybe just use async for large operations and non-asynchronous for small ones?

I believe that these are different for each project, and sometimes you can use a mixed approach to IMHO.

0
source

Source: https://habr.com/ru/post/1204231/


All Articles