▲ | maxmcd 3 days ago | ||||||||||||||||||||||
This library is wild https://github.com/cvilsmeier/sqinn Sqlite over stdin, to a subprocess, and it's fast! | |||||||||||||||||||||||
▲ | Twirrim 3 days ago | parent | next [-] | ||||||||||||||||||||||
It's wild to me that stdin/stdout is apparently significantly faster than using the API in so many cases. That's the kind of result that makes me wonder if there is something odd with the benchmarking. | |||||||||||||||||||||||
| |||||||||||||||||||||||
▲ | karel-3d 3 days ago | parent | prev | next [-] | ||||||||||||||||||||||
note that the author of the benchmark is also author of this library. | |||||||||||||||||||||||
▲ | wener 3 days ago | parent | prev | next [-] | ||||||||||||||||||||||
I used to use sqlite3 with stdio to read VoIP SQLite data. It's difficult or impossible to get a compatible SQLite version, and it's also hard to use cgo. I want to read the SQLite data on the server, and stdio is the only choice. | |||||||||||||||||||||||
▲ | sureglymop 3 days ago | parent | prev [-] | ||||||||||||||||||||||
That's an interesting approach but doesn't it mean that if you want multiple connections at the same time, you'd need multiple subprocesses? Perhaps I misunderstand though. | |||||||||||||||||||||||
|