Henrik Tunedal 657ae58418 Wrap database update in an explicit transaction
All changes to the database in SQLite must be done within a
transaction, so if there isn't one in progress one will be started
implicitly, i.e. each change will be done in a separate transaction.

Since committing a transaction is a fairly expensive operation - on
some filesystems ridiculously expensive - it should be done as
sparingly as possible.

In tests on my Galaxy S, this change makes the update between 2500%
and 4500% faster (for slightly over 100 applications).
2011-02-14 01:32:13 +01:00
2011-01-20 23:32:18 +00:00
2010-10-26 22:38:12 +01:00
2010-10-19 23:24:04 +01:00
2011-01-30 22:19:49 +00:00
2010-10-20 22:46:05 +01:00
2010-10-19 23:24:04 +01:00
2010-10-21 23:15:26 +01:00
2011-01-20 23:34:29 +00:00
2010-11-15 07:58:33 +00:00
Description
No description provided
GPL-3.0 46 MiB
Languages
Java 98.5%
Shell 0.6%
Python 0.6%
AIDL 0.2%
HTML 0.1%