kangjw / limeime

Automatically exported from code.google.com/p/limeime
0 stars 1 forks source link

建議在滙入mapping的時候使用transaction, 可加快滙入的速度 #10

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
我 check out 
了這裡最新版本(r13)的程式碼作測試,在emulator運行時用了
transaction平均快上了約三倍有多。附上修改後的 source code 
供你參考 :)

我也寫了一篇 blog 作測試的記錄:
http://notes.theorbis.net/2010/02/batch-insert-to-sqlite-on-android.html

Original issue reported on code.google.com by kenne...@gmail.com on 28 Feb 2010 at 5:41

Attachments:

GoogleCodeExporter commented 9 years ago
已修改了程式,並加上 Transaction, 
確實提高匯入速度很多,非常感謝。

Original comment by hosoyu on 7 Mar 2010 at 3:04

GoogleCodeExporter commented 9 years ago

Original comment by netkidz@gmail.com on 12 Apr 2010 at 1:06