Repository navigation
Commit a8f5ad3
perf(web): findVerseMeta groups each chapter's last verse once
The correlated MAX(verse) per row took ~60 ms for 150 verses, and the
vbox now reads whole chapters through it. A grouped join returns the same
rows (300 sampled id sets compared) in a tenth of the time; the John 3:16
vbox answers in ~30 ms instead of ~190 ms.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>1 parent 96a7264 commit a8f5ad3
1 file changed
Lines changed: 7 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
24 | | - | |
| 24 | + | |
| 25 | + | |
25 | 26 | | |
26 | 27 | | |
27 | 28 | | |
28 | | - | |
29 | | - | |
| 29 | + | |
30 | 30 | | |
31 | 31 | | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
32 | 35 | | |
33 | 36 | | |
34 | | - | |
| 37 | + | |
35 | 38 | | |
36 | 39 | | |
37 | 40 | | |
| |||
0 commit comments