Create the database in a transaction (better performances) #150

Merged
merged 1 commit into from Jul 8, 2012

Conversation

Projects
None yet
2 participants
@rom1v
Contributor

rom1v commented May 30, 2012

On my emulator, it takes 70ms instead of 250ms.
On a very specific hardware, it takes 0,5s instead of 4,1s.

I willingly did not indent the code between my try/catch (for the patch to be readable).

Create database in a transaction (for performance)
On my emulator, it takes 70ms instead of 250ms.
On a very specific hardware, it takes 0,5s instead of 4,1s.

I willingly did not indent the code between my try/catch (for the patch to be readable).

@cketti cketti merged commit fb36389 into k9mail:master Jul 8, 2012

@cketti

This comment has been minimized.

Show comment
Hide comment
@cketti

cketti Jul 8, 2012

Member

Thanks for your contribution!

Member

cketti commented Jul 8, 2012

Thanks for your contribution!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment