roc-lang / basic-webserver

A basic webserver in Roc
https://roc-lang.github.io/basic-webserver/
Universal Permissive License v1.0
72 stars 15 forks source link

Sqlite improvements: Part 1 #60

Closed bhansconnect closed 2 months ago

bhansconnect commented 2 months ago
  1. Use thread_locals and a connection per thread to the database (17% perf gain in mini-test)
  2. Allows binding any SQLite type instead of just string
  3. Updates glue

Since I updated glue, I thought it would be best to merge this PR sooner rather than later and split the work up.