Commit 9ec174a
⚡ Bolt: [performance improvement] Optimize SQLite insertions by replacing execute with executemany in _record_user_decision (#234)
Eliminates an N+1 performance bottleneck during batch file processing by grouping user feedback into a single `executemany` database insertion. Avoids executing repeated SQL parsing and reduces Python-to-C API crossover overhead, speeding up processing for large file groups.
Co-authored-by: google-labs-jules[bot] <161369871+google-labs-jules[bot]@users.noreply.github.com>
Co-authored-by: thebearwithabite <216692431+thebearwithabite@users.noreply.github.com>1 parent 17ac67a commit 9ec174a
1 file changed
Lines changed: 19 additions & 11 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1358 | 1358 | | |
1359 | 1359 | | |
1360 | 1360 | | |
1361 | | - | |
1362 | | - | |
1363 | | - | |
1364 | | - | |
1365 | | - | |
1366 | | - | |
1367 | | - | |
| 1361 | + | |
| 1362 | + | |
| 1363 | + | |
| 1364 | + | |
| 1365 | + | |
| 1366 | + | |
| 1367 | + | |
1368 | 1368 | | |
1369 | 1369 | | |
1370 | 1370 | | |
1371 | | - | |
1372 | | - | |
1373 | | - | |
1374 | | - | |
| 1371 | + | |
| 1372 | + | |
| 1373 | + | |
| 1374 | + | |
| 1375 | + | |
| 1376 | + | |
| 1377 | + | |
| 1378 | + | |
| 1379 | + | |
| 1380 | + | |
| 1381 | + | |
| 1382 | + | |
1375 | 1383 | | |
1376 | 1384 | | |
1377 | 1385 | | |
| |||
0 commit comments