begin;
insert into table values (..);
insert into table values (..);
insert into table values (..);
....
commit;
This will make SQLite save all changes to the disk at once.
Reference in SQLite:
http://www.sqlite.org/cvstrac/wiki?p=PerformanceConsiderations