Il Thu, 05 Aug 2010 09:33:24 -0700, mboehmer ha scritto:

> does SQLite have any big impact on power consumption? I am just thinking
> about storing data in a List or Map or in a database. I have a lot of
> inserts and queries, several a second. Any ideas on this?

SQLite has a high overhead per transaction.

If you need to persist those data, maybe it is better to cache 100 or 
1000 rows in a List, and then insert them in a single transaction

Bye.

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to