Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Consider better-sqlite3 as an alternative to node-sqlite3 #28

Closed
motin opened this issue Dec 4, 2018 · 2 comments
Closed

Consider better-sqlite3 as an alternative to node-sqlite3 #28

motin opened this issue Dec 4, 2018 · 2 comments

Comments

@motin
Copy link

motin commented Dec 4, 2018

They claim to be faster and better in all ways - https://www.npmjs.com/package/better-sqlite3 - are they a viable alternative to existing node-sqlite3?

@brettz9
Copy link
Contributor

brettz9 commented Dec 4, 2018

Their claim of the synchronous API being faster than the asynchronous one is particularly interesting to me given our need for the synchronous API with IndexedDBShim (to ensure proper timing)...

@nolanlawson
Copy link
Owner

Since it's possible to implement custom bindings, and since I have no plans to optimize the core of this library at the moment, I'm going to consider this an exercise for the reader. :) You can simply implement it on top of better-sqlite-3 if you'd like! Closing this issue for now, thanks for opening!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants