0xPolygonMiden / miden-node

Reference implementation of the node for the Polygon Miden rollup
MIT License
52 stars 37 forks source link

feat(store): cache sql statements #427

Closed Mirko-von-Leipzig closed 2 months ago

Mirko-von-Leipzig commented 2 months ago

Replace all conn.prepare with conn.prepare_cached and double the cache size limit from the default of 16 to 32. We currently have 22 different statements so this should be adequate for a while.

Closes #423.