JOIN queries re-prepared on every call
BindParams() called sqlite3_clear_bindings() before every statement run. Since SQLite 3.54 this invalidates the query plan, so a JOIN query was re-prepared on every get() and ran slower than on older Node.js versions.
NULL only for omitted parameters
BindParams() now tracks which parameters were bound and sets NULL only on the rest, and ResetAndBindStatement() does not clear at all, since it always binds every parameter. With BigInt parameters a get() went from 3.4-4.3 µs to about 0.7 µs.