The way that pykern works right now, we only do one insert per transaction, which is significantly slower than the alternative (see here: https://stackoverflow.com/questions/1711631/improve-insert-per-second-performance-of-sqlite). Make inserts perform the max number of variable inserts for sqlite. See here: https://sqlite.org/limits.html#max_variable_number.
The way that pykern works right now, we only do one insert per transaction, which is significantly slower than the alternative (see here: https://stackoverflow.com/questions/1711631/improve-insert-per-second-performance-of-sqlite). Make inserts perform the max number of variable inserts for sqlite. See here: https://sqlite.org/limits.html#max_variable_number.