d137c69131
This commit takes insert query compilation and transaction creation out of the critical loop for migrating message logs. I have tested with the sqlite backend, and a speedup of approximately 40x has been achieved for log migration. |
||
---|---|---|
.. | ||
database.go | ||
postgres_test.go | ||
postgres.go | ||
sqlite_mattn.go | ||
sqlite_modernc.go | ||
sqlite_stub.go | ||
sqlite_test.go | ||
sqlite.go |