Replies: 1 comment
-
As per SQLite docs, "All SQL must be converted into a prepared statement before it can be run", so the model already (rightfully) forces users to prepare their statements. libSQL's prepared statement is actually a compiled program that runs on its virtual machine, and I'd expect it to be fast enough even for key/value stores, but only a benchmark would verify that. |
Beta Was this translation helpful? Give feedback.
0 replies
# for free
to join this conversation on GitHub.
Already have an account?
# to comment
-
As suggested by a user on twitter today: https://twitter.com/__pragma__/status/1577756654837575680
This seems a great idea, and great direction. But it operates on the assumption that the SQL layer is itself, expensive. My intuition is that it is, but only if prepared statements are not used. For anything that is performance sensitive, statements are likely prepared.
@psarna do you have an intuition on the cost here?
Beta Was this translation helpful? Give feedback.
All reactions